arXiv:2602.21461cs.CL2026-02中稿 · CVPR被引 1

用文字或图片直接生成可编辑的矢量字形,无需中间步骤。

VecGlypher: Unified Vector Glyph Generation with Language Models

  • 基于多模态语言模型,直接输出SVG路径,跳过栅格化环节。
  • 在跨家族测试中,文字生成性能超越通用大模型和专用基线。
  • 适合字体设计新手和需要快速原型的创意工作者。

矢量字形是数字排版的基本单元,但现有学习方法仍依赖精心整理的样例图集和栅格转矢量后处理,限制了可访问性和可编辑性。我们提出VecGlypher,一个统一的多模态语言模型,能直接从文本描述或图像样例生成高保真矢量字形。给定风格提示、可选参考字形图像和目标字符,VecGlypher 自回归生成SVG路径令牌,避免栅格中间过程,一步产出可编辑、无漏洞的轮廓。训练采用两阶段方案:(i) 在3.9万份噪声Envato字体上进行大规模续写训练,掌握SVG语法与长序列几何;(ii) 在2.5千份专家标注的Google Fonts上进行微调,对齐语言、图像与几何。预处理包括坐标系归一化、路径标准化、去重及坐标量化,以支持稳定长序列解码。跨家族零样本评估显示,仅用文字生成时,性能显著优于通用大模型与专用矢量字体基线;图像参考生成达当前最优,大幅超越DeepVecFont-v2与DualVector。消融实验表明模型规模与两阶段训练策略至关重要,且绝对坐标序列化获得最佳几何表现。VecGlypher降低了字体创作门槛,使用户可通过文字或样例设计字体,并为未来多模态设计工具提供可扩展基础。

原文摘要 · Abstract (English)

Vector glyphs are the atomic units of digital typography, yet most learning-based pipelines still depend on carefully curated exemplar sheets and raster-to-vector postprocessing, which limits accessibility and editability. We introduce VecGlypher, a single multimodal language model that generates high-fidelity vector glyphs directly from text descriptions or image exemplars. Given a style prompt, optional reference glyph images, and a target character, VecGlypher autoregressively emits SVG path tokens, avoiding raster intermediates and producing editable, watertight outlines in one pass. A typography-aware data and training recipe makes this possible: (i) a large-scale continuation stage on 39K noisy Envato fonts to master SVG syntax and long-horizon geometry, followed by (ii) post-training on 2.5K expert-annotated Google Fonts with descriptive tags and exemplars to align language and imagery with geometry; preprocessing normalizes coordinate frames, canonicalizes paths, de-duplicates families, and quantizes coordinates for stable long-sequence decoding. On cross-family OOD evaluation, VecGlypher substantially outperforms both general-purpose LLMs and specialized vector-font baselines for text-only generation, while image-referenced generation reaches a state-of-the-art performance, with marked gains over DeepVecFont-v2 and DualVector. Ablations show that model scale and the two-stage recipe are critical and that absolute-coordinate serialization yields the best geometry. VecGlypher lowers the barrier to font creation by letting users design with words or exemplars, and provides a scalable foundation for future multimodal design tools.

矢量生成字体设计多模态SVG

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