用锚点引导直接生成高质量中文字体,无需先转成图像再矢量化。
VecFontLLM: Anchor-Guided Direct Synthesis of Chinese Vector Fonts

- 通过锚点骨架先定组件布局,再补全贝塞尔曲线细节。
- 少样本下可生成复杂汉字矢量字形,渲染质量接近真实字体。
- 适合需要高效生成定制中文矢量字体的研究者与设计师。
直接生成中文字体是一项持续挑战性任务。一个中文字形包含复杂的组件结构、锚点布局和贝塞尔曲线细节,这些在不同尺度上协同工作,但标准矢量序列将它们混合为单一长序列,使合成难度大增。现有直接矢量生成方法在复杂字符上表现不佳,而基于光栅的方法需后续矢量化。本文提出 VecFontLLM,一种锚点引导的多模态大语言模型,用于中文字体的少样本直接合成。核心思路是通过锚点而非标准矢量序列生成字形。具体而言,该模型首先预测并优化锚点骨架以确定组件和轮廓的粗略布局,再补全贝塞尔控制点以恢复局部曲率与风格。测试时,采用置信度引导的生成链,采样多个组件候选并从最高置信度结果继续,提升复杂字形的稳定性。本工作首次实现了在矢量域内高质量的少样本复杂中文字形直接合成,无需光栅生成或矢量化步骤。在多个中文字体数据集上的实验表明,其性能显著优于现有矢量合成方法,渲染质量可与光栅基基线竞争,且矢量命令分布接近真实字体。
原文摘要 · Abstract (English)
Direct generation of Chinese vector fonts is a challenging and ongoing problem. A Chinese vector glyph contains complex component structure, anchor layout, and Bézier curve details, which work at different scales, but a standard vector sequence writes them together in one long sequence, making the task of vector font synthesis challenging. Existing direct vector generators often fail on complex characters, while raster-domain methods must vectorize the synthesized glyph images afterward. To address the above-mentioned problem, this paper proposes VecFontLLM, an anchor-guided multimodal large language model for direct few-shot synthesis of Chinese vector fonts. Our key idea is to generate vector glyphs through anchors rather than a standard vector sequence. Specifically, the proposed VecFontLLM first predicts and refines an anchor scaffold that fixes the coarse layout of components and contours, and then completes Bézier control points to recover local curvature and style. At test time, a confidence-guided generation chain samples multiple component candidates and continues synthesis from the highest-confidence one, improving stability for complex glyphs. This work demonstrates, for the first time, high-quality few-shot synthesis of complex Chinese vector glyphs directly in the vector domain, without raster generation or vectorization. Experiments on several Chinese font datasets show substantial improvements over existing vector font synthesis methods, competitive glyph rendering quality against raster-domain baselines, and vector command distributions close to real fonts.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。