Skip to main content
PBU
Associate III
Jan 4, 2019 6:23 AM UTC
Solved

Using Custom Fonts in TouchGFX

Hi,

Is it possible to use custom fonts other than True type fonts listed in Touchgfx Designer. Thanks

This topic has been closed for replies.
Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
Jan 4, 2019 7:56 AM UTC

Just dump it inside your assets/fonts/ folder and it should be picked up by the designer (After restart).

5 replies

Martin KJELDSEN
Principal III
Jan 4, 2019 7:48 AM UTC

@PBU​, what kind of fonts do you have in mind? Formats we support are :

  1. TrueType (.ttf)
  2. OpenType (.otf)
  3. Glyph Bitmap Distribution format (.bdf)
PBU
PBUAuthor
Associate III
Jan 4, 2019 7:52 AM UTC

I want to use TrueType Font (.ttf).

How to add custom true type font in touchGFX Designer?

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
Jan 4, 2019 7:56 AM UTC

Just dump it inside your assets/fonts/ folder and it should be picked up by the designer (After restart).

scottSD
Senior III
Jul 22, 2022 2:17 PM UTC

@Martin KJELDSEN​ 

Not all custom fonts appear to work.

See this post:

https://community.st.com/s/question/0D53W00000GZgM7SAL/invalid-font-displayed-on-canvas-in-touchgfx-designer

Is there anything you can tell me about a custom font that will prohibit it from working in the Designer?