FonTS: Text Rendering with Typography and Style Controls
Wenda Shi, Yiren Song, Dengming Zhang, Jiaming Liu, Xingxing Zou
TL;DR
The paper tackles the challenge of achieving precise word level typography and style control in diffusion-based text rendering. It introduces a two-stage DiT framework with Typography Control Fine-tuning using enclosing ETC tokens and a Style Control Adapter that decouples content and style, aided by an HTML rendered TC-Dataset for word level supervision. The approach yields superior word level controllability, font consistency, and style consistency across basic, artistic, and scene text tasks, with comprehensive quantitative, qualitative, and ablation evidence. It also provides two new benchmarks and discusses practical applications and limitations, including language drift and content leakage, with potential for multilingual extension.
Abstract
Visual text rendering are widespread in various real-world applications, requiring careful font selection and typographic choices. Recent progress in diffusion transformer (DiT)-based text-to-image (T2I) models show promise in automating these processes. However, these methods still encounter challenges like inconsistent fonts, style variation, and limited fine-grained control, particularly at the word-level. This paper proposes a two-stage DiT-based pipeline to address these problems by enhancing controllability over typography and style in text rendering. We introduce typography control fine-tuning (TC-FT), an parameter-efficient fine-tuning method (on $5\%$ key parameters) with enclosing typography control tokens (ETC-tokens), which enables precise word-level application of typographic features. To further address style inconsistency in text rendering, we propose a text-agnostic style control adapter (SCA) that prevents content leakage while enhancing style consistency. To implement TC-FT and SCA effectively, we incorporated HTML-render into the data synthesis pipeline and proposed the first word-level controllable dataset. Through comprehensive experiments, we demonstrate the effectiveness of our approach in achieving superior word-level typographic control, font consistency, and style consistency in text rendering tasks. The datasets and models will be available for academic use.
