cancel
Showing results for 
Search instead for 
Did you mean: 

Using Custom Fonts in TouchGFX

PBU
Associate III

Hi,

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

This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

5 REPLIES 5
Martin KJELDSEN
Chief III

@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)

I want to use TrueType Font (.ttf).

How to add custom true type font in touchGFX Designer?

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

PBU
Associate III

Hi Martin,

Thanks. It Worked.

scottSD
Lead

@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?