arXiv:2606.05261cs.CVcs.AI2026-06

用神经网络自动把静态字体转为可变字体,支持多轴连续变形。

NIV: Neural Axis Variations for Variable Font Generation

  • 直接在矢量字形上预测点位移,结合多轴交互嵌入机制。
  • 训练数据超百万个变体对,跨字形、风格和中日韩复杂字形泛化好。
  • 生成标准变量字体文件,适合字体设计与生成式图形研究者。

可变字体支持字形几何沿权重、宽度、倾斜度和视觉尺寸等语义轴连续变化。但将静态字体转化为可变字体仍需专家手工设计,耗时费力。本文提出NIV(Neural Axis Variations),一种将静态字体自动转换为完整可变字体的方法。给定字形轮廓和期望的设计轴,NIV预测每个点的位移。模型直接作用于矢量字形几何,并采用新颖的属性嵌入机制,捕捉多轴间交互关系,实现在统一框架下的稳定多轴变化。我们在新构建的数据集上训练NIV,该数据集源自可变Google Fonts,包含超过一百万条变体对。模型能泛化至未见字符、未见字体风格、高复杂度中日韩字形,甚至分布外的手写输入。生成结果为标准变量字体文件,可被现有渲染引擎支持连续插值。为促进研究,我们公开数据集、完整训练推理代码及已训练模型(https://github.com/ndvbd/NIV)。本方法还展示了如何用神经形变合成具有连续参数变化的结构化几何对象。

原文摘要 · Abstract (English)

Variable fonts enable continuous variation of glyph geometry along semantic design axes such as weight, width, slant, and optical size. However, constructing a variable font from a static font remains a labor-intensive process requiring expert typographic design and manual specification of glyph variation data. We introduce NIV (Neural Axis Variations), a method that automatically converts a static font into a fully functional variable font. Given glyph outlines and a set of desired design axes, NIV predicts per-point displacements. The model operates directly on vector glyph geometry and employs a novel Property Embedding mechanism that captures interactions between multiple axes, enabling consistent multi-axis variation within a unified framework. We train NIV on a newly constructed dataset derived from variable Google Fonts, comprising over one million variation tuples. The resulting model generalizes across unseen code points, unseen font styles, high-complexity CJK glyphs, and even out-of-distribution handwriting inputs. The generated outputs are standard variable font files supporting continuous interpolation via existing rendering engines. To facilitate research, we release the dataset, the complete training and inference implementation, and trained models at https://github.com/ndvbd/NIV. Beyond typography, our approach demonstrates how structured geometric objects with continuous parametric variation can be synthesized using neural deformations.

字体生成神经变形可变字体矢量建模

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