Pages: [1]   Go Down
Author Topic: DueGUI - upload of custom fonts to chip  (Read 323 times)
0 Members and 1 Guest are viewing this topic.
Centurion RSA
Offline Offline
Full Member
***
Karma: 0
Posts: 166
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi
Has anyone attempted to upload a new font or even one of the UTFT fonts to the on board font chip? The widgets are written to except an int number as the font identifier. This means that you cannot use any of the supplied fonts with the widgets. As far as I can tell, the widgets will only use the flashed fonts.
Logged

Rather people think you to be a fool than you open your mouth and confirm it.

UK
Offline Offline
Sr. Member
****
Karma: 7
Posts: 436
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The fonts are easy to change it you can get the data.  The fonts are stored in the DefaultFonts.c file
Logged

Centurion RSA
Offline Offline
Full Member
***
Karma: 0
Posts: 166
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a number of useful fonts on the Karlsen website. I am looking at embedding the Seven Segment Number fonts. They are also in the defaultfonts.c format which is just an array basically. If you specify one of these fonts they get compiled and linked into the code so it is not stored in the raw format. The question is how to go about putting them in the chip.
Logged

Rather people think you to be a fool than you open your mouth and confirm it.

Pages: [1]   Go Up
Jump to: