Go Down

Topic: U8glib: Graphics Lib for LCDs and OLEDs (Read 54 times) previous topic - next topic


For the discussed number fonts, i have used the following conversion process:
1. Convert (scale+raster) truetype font into a bdf font. Result is a .bdf file. Tool: otf2bdf
2. Convert .bdf file to a .c file (internal u8glib format). Tool: bdf2u8g

Misalignment already appears in step 1. To fix this, either add information to the original .ttf file or update/fix the intermediate .bdf file. I am always happy to update, fix or add fonts. Just send me the related .bdf or .ttf files.

I have made all bdf file available here:
So one solution is to download the bdf file and modify this bdf file with some of the existing bdf editors.

Once i receive a bdf (prefered) or ttf, i can offer:
- Update the release process for u8glib with the new bdf file
- replace/add the bdf for future releases
- setup a wiki page with updated or modified bdf files
- optional: give credits to the contributor

For sure, helping hands are needed here. I know that the converted fonts are not that good. As of now, i do not have anything else.

Thanks in advance,


Dec 14, 2012, 01:18 pm Last Edit: Dec 14, 2012, 02:01 pm by DooMMasteR Reason: 1
ok… got SERIOUSLY annoyed by the problem :P so I took the fub25 and fixed all the numbers…

It would be nice if you could make them u8glib compatible in format and create a "numbers" version frim it, or at least a restricted.

All Numbers are now aligned on line -1 and have exactly 26 pixels in height… so 25 is the upper line… it is not pretty but a lot pretier than before.


I will create a Numbers only font now… custom… and simple and clean :) will post the file here once it is done

I have also made a numeric font on my own… simple and clean… all numerics are monospaced

Feel free to do whatever you want with it… this font is Free in all human and lawful senses.


Dec 14, 2012, 10:34 pm Last Edit: Dec 14, 2012, 10:42 pm by olikraus Reason: 1
Many thanks to DooMMasteR for the contributed fixes and the new font.

The font update applies to this font:

The new font is described here:

I have also added some more fonts from the X11 distribution. Some nice large bitmap fonts are also included:

I have attached u8glib version v1.09pre14, which includes all these fonts.



Dec 16, 2012, 01:21 pm Last Edit: Dec 16, 2012, 02:10 pm by DooMMasteR Reason: 1
I will also make another font… in 10px height…maybe even today

EDIT: done
numerics, capitals, degree, math included… 10px high 7-8 wide

Go Up