arXiv:2410.06488cs.CV2024-10中稿 · SIGGRAPH被引 10

用少量样本快速生成高质量高分辨率中文字体

HFH-Font: Few-shot Chinese Font Synthesis with Higher Quality, Faster Speed, and Higher Resolution

  • 基于扩散模型,通过组件感知条件学习多层级风格信息
  • 支持1024×1024以上分辨率生成,可实现单步快速推理
  • 适合需要自动化高质量中文字体设计的团队或开发者

自动合成高质量矢量字体,尤其针对汉字这类包含大量复杂字形的书写系统,仍是未解难题。现有方法分为两类:直接生成矢量字形,或先合成位图再转矢量。前者难以完整正确构建复杂字形,后者在保持局部细节的前提下难以高效生成1024×1024及以上分辨率的图像。本文提出HFH-Font,一种少样本字体生成方法,可高效生成可转化为高质量矢量字形的高分辨率位图。该方法采用基于扩散模型的生成框架,结合组件感知条件,学习适配不同参考尺寸的多层次风格信息;设计基于分数蒸馏采样的蒸馏模块以实现单步快速推理,并引入风格引导的超分模块优化和放大低分辨率结果。大量实验(包括专业字体设计师的用户研究)表明,本方法显著优于现有技术。实验结果显示,该方法生成的高保真高分辨率位图可成功转为高质量矢量字体,首次实现了与专业设计师手工制作质量相当的大规模中文矢量字体的自动生成。

原文摘要 · Abstract (English)

The challenge of automatically synthesizing high-quality vector fonts, particularly for writing systems (e.g., Chinese) consisting of huge amounts of complex glyphs, remains unsolved. Existing font synthesis techniques fall into two categories: 1) methods that directly generate vector glyphs, and 2) methods that initially synthesize glyph images and then vectorize them. However, the first category often fails to construct complete and correct shapes for complex glyphs, while the latter struggles to efficiently synthesize high-resolution (i.e., 1024 $\times$ 1024 or higher) glyph images while preserving local details. In this paper, we introduce HFH-Font, a few-shot font synthesis method capable of efficiently generating high-resolution glyph images that can be converted into high-quality vector glyphs. More specifically, our method employs a diffusion model-based generative framework with component-aware conditioning to learn different levels of style information adaptable to varying input reference sizes. We also design a distillation module based on Score Distillation Sampling for 1-step fast inference, and a style-guided super-resolution module to refine and upscale low-resolution synthesis results. Extensive experiments, including a user study with professional font designers, have been conducted to demonstrate that our method significantly outperforms existing font synthesis approaches. Experimental results show that our method produces high-fidelity, high-resolution raster images which can be vectorized into high-quality vector fonts. Using our method, for the first time, large-scale Chinese vector fonts of a quality comparable to those manually created by professional font designers can be automatically generated.

字体生成扩散模型少样本学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。