Abstract
Chinese vector font generation is challenging due to the complex structure and huge amount of Chinese characters. Recent advances remain limited to generating a small set of characters with simple structure. In this work, we first observe that most Chinese characters can be disassembled into frequently-reused components. Therefore, we introduce the first efficient and scalable Chinese vector font generation approach via component composition, allowing generating numerous vector characters from a small set of components. To achieve this, we collect a large-scale dataset that contains over 90,000 Chinese characters with their components and layout information. Upon the dataset, we propose a simple yet effective framework based on spatial transformer networks (STN) and multiple losses tailored to font characteristics to learn the affine transformation of the components, which can be directly applied to the Bézier curves, resulting in Chinese characters in vector format. Our qualitative and quantitative experiments have demonstrated that our method significantly surpasses the state-of-the-art vector font generation methods in generating large-scale complex Chinese characters in both font generation and zero-shot font extension.
The Scalability Challenge in Chinese Typography
Designing a professional Chinese font is a monumental undertaking. Unlike Latin scripts, which typically require around 52 alphabetic characters, a standard Chinese font (GB18030-2022) necessitates over 90,000 characters. Beyond the sheer volume, Chinese characters are structurally far more complex than their Western counterparts.
Existing AI solutions often fail this scalability test. Image-based models (GANs or Diffusion) produce non-editable pixels, while current vector-based models struggle with the intricate paths of complex characters, often limited to a small subset of roughly 7,000 simple glyphs. This "scalability wall" prevents the automation of professional font design for the full Chinese character set.
Methodology: Component Affine transformation Regressor (CAR)
The researchers propose a paradigm shift: treating font generation as a geometric "assembly" task rather than a "drawing" task. By observing that most Chinese characters are recursive and built from finite reusable components, they developed the Component Affine transformation Regressor (CAR).
Instead of predicting coordinates from scratch—which often leads to "shaky" or distorted paths—CAR learns to move, scale, and rotate (affine transformations) existing high-quality vector components to fit a target character's layout. The pipeline involves:
- Feature Extraction: A VGG19 backbone extracts spatial features from component images.
- Feature Fusion: Strategies like Cross-Attention allow the model to understand the spatial relationships between components.
- Regression & Application: The network outputs transformation matrices applied directly to the Bézier control points of source components, ensuring the output remains a clean, professional-grade vector.
To ensure structural integrity, the authors introduced specialized loss functions, including an Overlap Loss to prevent component collision and Centroid/Inertia Losses to maintain the character's visual balance.
A New Benchmark for Font Research
A major contribution of this work is the introduction of the Large-scale Chinese Font-Components Dataset, the first and largest of its kind. This resource provides the necessary mapping for the "long tail" of rare and complex Chinese characters.
The dataset contains over 92,560 characters, providing a comprehensive map of radicals, layout types (e.g., Left-Right, Top-Bottom, Enclosed), and specific component decompositions. This data allows the model to handle the vast variety of the full Chinese character set by understanding how components are nested and arranged.
Key Insights and Results
The researchers discovered a "1.1k Rule": with just 1,100 well-designed components, the system can synthesize over 60,000 characters. This represents a massive paradigm shift, offering a 30x efficiency gain for professional designers who can focus on a small "seed" set to generate a massive library.
Quantitatively, CAR significantly outperforms state-of-the-art models like DeepVecFont-v2 across all metrics (MAE, RMSE, FID, and LPIPS). In user studies involving 90 participants, 90% preferred text rendered with CAR-extended fonts over original limited versions. Furthermore, the researchers developed a plugin for Glyphs, a standard industry tool, allowing designers to integrate CAR directly into their professional workflows.
Conclusion
By leveraging the recursive nature of Chinese characters, the CAR framework overcomes the complexity barriers that have hindered previous vector font generation methods. This approach not only achieves unprecedented scalability but also maintains the high aesthetic standards required for professional typography. Future work will focus on refining performance for rare, complex three-component layouts and further enhancing the aesthetic quality of generated characters.
Summary updated