Jisuanji kexue yu tansuo (Jun 2024)

Few Shot Font Generation Fused with Component Position Information

  • YANG Na, YIN Yanjun, ZHANG Wenxuan, YUN Fei

DOI
https://doi.org/10.3778/j.issn.1673-9418.2305030
Journal volume & issue
Vol. 18, no. 6
pp. 1556 – 1565

Abstract

Read online

In order to realize the few shot font generation, local component method usually ignores the role of component location information on text generation, resulting in the deviation of the overall structure layout of the generated text. In order to capture component location information effectively, a method of few shot font generation by integrating component position information features (CPI-Font) is proposed. The proposed CPI-Font model takes MX-Font as the basic framework to design a new global location information extractor. The global position information is extracted with coordinate attention, and different importance of each component in the global position information is paid attention to by multi-component attention, so as to capture the global position relation features of local components in the whole glyphs and avoid the deviation of the generated glyphs structure. Using 39 publicly constructed fonts as Chinese character datasets, a large number of experiments are carried out with the current mainstream models. Experimental results show that the proposed model achieves 0.112 in LPIPS value, 88.5 in FID value, and 83.1% and 70.4% in content and style accuracy, respectively. The model is superior to other algorithms in three evaluation indices. The results show that the CPI-Font model can capture the location information of components effectively and has a relatively advanced performance of the few shot font generation.

Keywords