Few-shot Font Generation with Localized Style Representations and Factorization

Song Park, Sanghyuk Chun, Junbum Cha, Bado Lee, Hyunjung Shim
9/23/2020
127 citations
cs.CV

Official code: clovaai/lffont (193 stars, Python, PyTorch, last commit 2023-11-21).

Abstract

Automatic few-shot font generation is a practical and widely studied problem because manual designs are expensive and sensitive to the expertise of designers. Existing few-shot font generation methods aim to learn to disentangle the style and content element from a few reference glyphs, and mainly focus on a universal style representation for each font style.

Show full abstract

However, such approach limits the model in representing diverse local styles, and thus makes it unsuitable to the most complicated letter system, e.g., Chinese, whose characters consist of a varying number of components (often called "radical") with a highly complex structure. In this paper, we propose a novel font generation method by learning localized styles, namely component-wise style representations, instead of universal styles. The proposed style representations enable us to synthesize complex local details in text designs. However, learning component-wise styles solely from reference glyphs is infeasible in the few-shot font generation scenario, when a target script has a large number of components, e.g., over 200 for Chinese. To reduce the number of reference glyphs, we simplify component-wise styles by a product of component factor and style factor, inspired by low-rank matrix factorization. Thanks to the combination of strong representation and a compact factorization strategy, our method shows remarkably better few-shot font generation results (with only 8 reference glyph images) than other state-of-the-arts, without utilizing strong locality supervision, e.g., location of each component, skeleton, or strokes. The source code is available at https://github.com/clovaai/lffont.

View on arXivView PDF

Code Implementations(1)

clovaai/lffontOfficial100%
PyTorch

Official PyTorch implementation of LF-Font (Few-shot Font Generation with Localized Style Representations and Factorization) AAAI 2021

19326PythonSep 23, 20203 years agoNOASSERTION
aaai2021deep-learningfontfont-generationgenerative-models+3 more

Similar Papers

Cite this paper

@article{park2020fewshot,
  title  = {Few-shot Font Generation with Localized Style Representations and Factorization},
  author = {Song Park and Sanghyuk Chun and Junbum Cha and Bado Lee and Hyunjung Shim},
  year   = {2020},
  eprint = {2009.11042},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.11042}
}

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/2009.11042.svg)](https://codeofpaper.com/paper/2009.11042)

Discussion