Skip to content

ESP8266 TFT Display - Support for Material Design Icons #21796

Answered by valdus2
jkwim asked this question in Q&A
Discussion options

You must be logged in to vote

You can convert whatever font you like.
Tools you will need:

  1. GLCD Font Creator (To see the font range)
  2. FontConvert (For converting ttf to h files for importing to script editor)
  3. Script Editor (For converting .h to .fnt files)

For example converting some characters from Roboto Bold ttf font:

In command prompt you run the below command
FontConvert Roboto_Bold.ttf 24 902 973 > Roboto_Bold24.h

Explaining:
24 is the font size that you want
902 973 The characters range that you want (from 902 to 973) and you have find them from GLCD Font Creator
Roboto_Bold24.h The name of the file that it will create

After that, you open the created Roboto_Bold24.h file in script editor and you convert it by…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@jkwim
Comment options

@sfromis
Comment options

Comment options

You must be logged in to vote
1 reply
@jkwim
Comment options

Answer selected by jkwim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants