Skip to main content
AD�?b
Senior
November 18, 2020
Solved

STM32F746G-DISCO, new font

  • November 18, 2020
  • 2 replies
  • 1018 views

Hi

How do I install a new font?

best regards

Andrzej

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Hi,

The "Text and Font" article will help you understand how to handle fonts. First I would suggest you make sure your font is in TrueType (.ttf) or OpenType (.otf) format. Glyph Bitmap Distribution Format (.bdf) are complicated to work with unfortunately.

If your font is in one of those formats, you can add it to the "assets/font" folder of your project. If you have your project open In TouchGFX Designer you have to close it and open it again to make sure it will be known by Designer.

0693W000005BnegQAC.png 

Now when you open your project in Designer, go to the Text tab.

0693W000005BnfeQAC.pngWithin that tab, go to the Typographies tab. You can now see the different typographies you can use in your project (you can create new ones). You have a font property for all typographies which you can change to the font you have now added.

0693W000005BnhkQAC.png

/Romain

2 replies

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
November 18, 2020

Hi,

The "Text and Font" article will help you understand how to handle fonts. First I would suggest you make sure your font is in TrueType (.ttf) or OpenType (.otf) format. Glyph Bitmap Distribution Format (.bdf) are complicated to work with unfortunately.

If your font is in one of those formats, you can add it to the "assets/font" folder of your project. If you have your project open In TouchGFX Designer you have to close it and open it again to make sure it will be known by Designer.

0693W000005BnegQAC.png 

Now when you open your project in Designer, go to the Text tab.

0693W000005BnfeQAC.pngWithin that tab, go to the Typographies tab. You can now see the different typographies you can use in your project (you can create new ones). You have a font property for all typographies which you can change to the font you have now added.

0693W000005BnhkQAC.png

/Romain

AD�?b
AD�?bAuthor
Senior
November 18, 2020

Hi

Thank you. Managed to.

best regards

Andrzej