cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746G-DISCO, new font

AD�?b
Senior

Hi

How do I install a new font?

best regards

Andrzej

1 ACCEPTED SOLUTION

Accepted Solutions
Romain DIELEMAN
ST Employee

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

View solution in original post

2 REPLIES 2
Romain DIELEMAN
ST Employee

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
Senior

Hi

Thank you. Managed to.

best regards

Andrzej