Qestion using GFXFF Fonts #1742
-
Hi, if I want to use the gfxff fonts, is there a trick to include the specific header? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If the following is defined in your library setup file then a sketch will have access to the GFX free fonts: There are examples for using the fonts. Some examples include a header file that provides shorter reference names, but that is not necessary to reference a font by the full name. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
If the following is defined in your library setup file then a sketch will have access to the GFX free fonts:
#define LOAD_GFXFF
There are examples for using the fonts. Some examples include a header file that provides shorter reference names, but that is not necessary to reference a font by the full name.
https://github.com/Bodmer/TFT_eSPI/blob/master/examples/320%20x%20240/All_Free_Fonts_Demo/Free_Fonts.h