Home

Awesome

CLIPFont

Implementation of paper: CLIPFont: Texture Guided Vector WordArt Generation.(BMVC2022)

Font design is a repetitive job that requires specialized skills. Unlike the existing few-shot font generation methods, this paper proposes a zero-shot font generation method called CLIPFont for any language based on the CLIP model. The style of the font is controlled by the text description, and the skeleton of the font remains the same as the input reference font. CLIPFont optimizes the parameters of vector fonts by gradient descent and achieves artistic font generation by minimizing the directional distance between text description and font in the CLIP embedding space. CLIP recognition loss is proposed to keep the category of each character unchanged. The gradients computed on the rasterized images are returned to the vector parameter space utilizing a differentiable vector renderer. Experimental results and Turing tests demonstrate our method's state-of-the-art performance. pipline

Using google colab

.ipynb file in the repositories can be used after being uploaded to Google colab or you can click this link colab

Examples

Image1 Image2