To use a custom-loaded font the manual states "The fonts available are essentially all the freefonts available in the Adafruit_GFX library format simply converted in binary ready to be loaded into Annex."
The additional fonts Annex loads are a .ttf in a .tar, but these are not used in an example program.
Could I have a bit more detail on this please.
Are these fonts the Arduino format .h files or as a .ttf?
What is the process for converting these to a .bin for Annex?
Loading additional fonts.
-
- Posts: 252
- Joined: Mon Feb 15, 2021 1:44 pm
- Has thanked: 156 times
- Been thanked: 147 times
- cicciocb
- Site Admin
- Posts: 2795
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 594 times
- Been thanked: 2004 times
- Contact:
Re: Loading additional fonts.
Hi Andy,
I forgot to document and distribute these fonts.
Actually the conversion in .bin format is done using a program that runs on the module itself (not annex, but a c++ program).
As nobody asked for, I even forgot how I did but the plan is to publish an easy way for the conversion ( maybe inside the toolkit).
In the while this .zip contains around 50 fonts already converted in .bin format.
I forgot to document and distribute these fonts.
Actually the conversion in .bin format is done using a program that runs on the module itself (not annex, but a c++ program).
As nobody asked for, I even forgot how I did but the plan is to publish an easy way for the conversion ( maybe inside the toolkit).
In the while this .zip contains around 50 fonts already converted in .bin format.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 252
- Joined: Mon Feb 15, 2021 1:44 pm
- Has thanked: 156 times
- Been thanked: 147 times
- Electroguard
- Posts: 1094
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 373 times
- Been thanked: 392 times
Re: Loading additional fonts.
I've just downloaded them anyway, but what display are these fonts actually for ?
-
- Posts: 252
- Joined: Mon Feb 15, 2021 1:44 pm
- Has thanked: 156 times
- Been thanked: 147 times
Re: Loading additional fonts.
These are additional TFT display fonts which can be loaded as font 10 and 11 using TFT.LOADFONT as detailed in the help file.
(Although as Francesco admits, not fully documented
)
(Although as Francesco admits, not fully documented

-
- Posts: 524
- Joined: Tue Jun 21, 2022 2:17 pm
- Location: South coast UK
- Has thanked: 294 times
- Been thanked: 165 times
Re: Loading additional fonts.
There are some nice fonts in that download, but is there any chance we could have instructions or a tool to convert fonts for ourselves?
- cicciocb
- Site Admin
- Posts: 2795
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 594 times
- Been thanked: 2004 times
- Contact:
Re: Loading additional fonts.
Hi, yes, I'll try to document[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Aug 16, 2022 8:06 pm There are some nice fonts in that download, but is there any chance we could have instructions or a tool to convert fonts for ourselves?
-
- Posts: 524
- Joined: Tue Jun 21, 2022 2:17 pm
- Location: South coast UK
- Has thanked: 294 times
- Been thanked: 165 times
Re: Loading additional fonts.
That's great. Your efforst with all of this are very much appreciated.
Meanwhile, I've had a little play with a cheap 1.8" low res TFT using bitmapped fonts to get antialiased text.
It's a painful process but the results are quite pleasing so I'll post as a project once it's done. (only digits so far). Not the best of pictures but hopefully it can be seen that the characters and trend indicators are antialiased.
Bear in mind, that 1.8" display is only 128*160 pixels.
Meanwhile, I've had a little play with a cheap 1.8" low res TFT using bitmapped fonts to get antialiased text.
It's a painful process but the results are quite pleasing so I'll post as a project once it's done. (only digits so far). Not the best of pictures but hopefully it can be seen that the characters and trend indicators are antialiased.
Bear in mind, that 1.8" display is only 128*160 pixels.
You do not have the required permissions to view the files attached to this post.