Srijika: OpenType-Layout-Reusing Font Restyling for Nine Indic Scripts

Anil Pai

arXiv:2609.05661 · 2026-09-20 공개 · arXiv · PDF

diffusion-models opentype-fonts indic-scripts glyph-restyling font-audit harfbuzz lipika ssim-gates

Abstract

We present Srijika, a system for producing installable OpenType fonts for nine Brahmic scripts: Devanagari, Tamil, Bengali, Telugu, Kannada, Malayalam, Gujarati, Gurmukhi, and Odia. Rather than generating fonts from scratch, Srijika restyles glyph outlines from shaping-complete template fonts. It preserves the template's cmap and GSUB closure and its GPOS data under a documented metric policy, making every output a complete font by construction. This addresses a central challenge of Indic font generation: hundreds to thousands of conjuncts, half forms, and matra variants must remain mutually consistent under OpenType shaping. Srijika produces 66 TTFs: 57 curated presets and nine open-vocabulary showcase fonts. All pass the OpenType Sanitizer, while HarfBuzz and CoreText reproduce the template glyph-ID sequences on conjunct-heavy probes. A full-closure audit covering 80,915 glyphs and 54,812 anchors quantifies metric changes. Natural-language style selection uses Lipika, a retrieval index over approximately 650 open-license font families. A reference-conditioned latent diffusion model redraws template glyphs in the selected style, followed by content gating, harmonization, and shaped-cluster verification with fallback to template outlines. We evaluate against no-learning baselines. On diffusion-training-family-held-out SSIM gates, template copying outperforms generation on 50 of 56 faces. Style movement is measurable only with an internal same-model embedding whose training corpus includes the held-out families, so these results require caution. A learned baseline, independent style metric, and human study are outside this report's scope. Our contributions are the layout-reusing formulation and pipeline, its nine-script audit and benchmark, and a negative-results catalogue covering failed conditioning, objective choices, and data-hull limits of reference-guided restyling.

한국어 요약

한 줄 요약

Srijika는 9개의 브라흐미 글꼴 스크립트에 대한 OpenType 레이아웃 재사용 기반 글꼴 리스타일링 시스템이다.

핵심 기여도

핵심 아이디어

Srijika는 브라흐미 스크립트(데바나가리, 타밀 등 9개)에 대한 OpenType 글꼴을 생성하는 시스템으로, 기존 템플릿 글꼴의 레이아웃 구조를 재사용함으로써 수천 개의 결합체(conjuncts), 반형(half forms), 마트라(matra variants)를 일관되게 유지한다. 이는 OpenType 서식이 요구하는 수많은 글리프와 규칙을 일일이 생성하는 대신, 템플릿의 cmap, GSUB, GPOS 구조를 그대로 재사용함으로써 가능하다.

핵심 아이디어는 "글꼴을 처음부터 생성하지 않고, 템플릿을 리스타일링"하는 것이다. 이는 레이아웃 구조를 학습하지 않고 재사용함으로써, 리스타일링 품질과 레이아웃 논리를 분리할 수 있다는 점에서 혁신적이다. Lipika라는 자연어 기반 검색 인덱스를 통해 650개의 오픈 라이선스 글꼴 패밀리 중 스타일을 선택하고, 참조 조건부 잠재 확산 모델을 사용해 템플릿 글리프를 리스타일링한다.

기술적 접근법

주요 결과

의의 및 한계

Srijika는 브라흐미 스크립트 글꼴 생성의 구조적 문제를 해결하며, OpenType 레이아웃 재사용을 통해 일관성 있는 글리프 생성을 가능하게 한다. 특히, 9개 스크립트에 대한 감사와 벤치마크를 제공함으로써, 글꼴 생성 연구의 기초가 될 수 있다. 또한, 실패한 조건부 리스타일링, 학습 목적 오염, 데이터 헐 경계를 포함한 부정적 결과 카탈로그는 유사한 연구에서 반복될 수 있는 문제를 사전에 파악하는 데 기여한다.

그러나, 학습 기반 베이스라인, 독립적인 스타일 메트릭, 인간 평가 실험은 포함되지 않았으며, 이는 결과의 일반화 가능성에 한계를 초래할 수 있다. 또한, 생성된 글꼴의 시각적 정렬 품질과 GPOS 행동은 감사 범위 밖에 있어, 실용적 적용 시 추가 검증이 필요하다.

실용적 활용

Srijika는 브라흐미 스크립트를 사용하는 인도 지역의 디지털 콘텐츠 제작, 웹 및 모바일 글꼴 제공, 오픈 라이선스 글꼴 확장에 활용 가능하다. 특히, 글꼴 디자인 비용을 줄이고, 일관된 레이아웃 구조를 유지하면서 다양한 스타일을 제공할 수 있어, 글꼴 개발자, 디자이너, 언어 학자에게 유용한 도구가 될 수 있다.