Go Down

Topic: DueGUI - upload of custom fonts to chip (Read 441 times) previous topic - next topic

Marius

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.
Rather people think you to be a fool than you open your mouth and confirm it.

cowasaki

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

Marius

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.
Rather people think you to be a fool than you open your mouth and confirm it.

Go Up