FontCrafter: High-Fidelity Element-Driven Artistic Font Creation with Visual In-Context Generation

Wuyang Luo, Chengkai Tan, Chang Ge, Binye Hong, Su Yang +1 more
3/23/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Artistic font generation aims to synthesize stylized glyphs based on a reference style. However, existing approaches suffer from limited style diversity and coarse control. In this work, we explore the potential of element-driven artistic font generation. Elements are the fundamental visual units of a font, serving as reference images for the desired style. Conceptually, we categorize elements into object elements (e.g., flowers or stones) with distinct structures and amorphous elements (e.g., flames or clouds) with unstructured textures. We introduce FontCrafter, an element-driven framework for font creation, and construct a large-scale dataset, ElementFont, which contains diverse element types and high-quality glyph images. However, achieving high-fidelity reconstruction of both texture and structure of reference elements remains challenging. To address this, we propose an in-context generation strategy that treats element images as visual context and uses an inpainting model to transfer element styles into glyph regions at the pixel level. To further control glyph shapes, we design a lightweight Context-aware Mask Adapter (CMA) that injects shape information. Moreover, a training-free attention redirection mechanism enables region-aware style control and suppresses stroke hallucination. In addition, edge repainting is applied to make boundaries more natural. Extensive experiments demonstrate that FontCrafter achieves strong zero-shot generation performance, particularly in preserving structural and textural fidelity, while also supporting flexible controls such as style mixture.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{luo2026fontcrafter,
  title  = {FontCrafter: High-Fidelity Element-Driven Artistic Font Creation with Visual In-Context Generation},
  author = {Wuyang Luo and Chengkai Tan and Chang Ge and Binye Hong and Su Yang and Yongjiu Ma},
  year   = {2026},
  eprint = {2603.22054},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.22054v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.22054.svg)](https://codeofpaper.com/paper/2603.22054)

Discussion