U8glib: Graphics Lib for LCDs and OLEDs

works as it should and sets the contrast. But I have a few questions. From what I’ve read in the datasheet the contrast value is a 6 bit value. I’m guessing the range 0 – 255 is divided down to 0 – 63?

I try to keep a range from 0 to 255 for the user interface. I think the actual range is from 0 to 127. It is scaled down in line 106
http://code.google.com/p/u8glib/source/browse/csrc/u8g_dev_uc1701_mini12864.c

I’ve begun investigating bdf fonts using FontForge. I looks like converting a font then modifying / drawing the bitmap for the size I want might be the best method, but I don’t really understand how point size converts to pixel size. I think I have a lot to learn before I can produce a usable font.

The SIZE parameter () of the BDF format defines the PointSize and Resolution of the BDF font. It is ignored by the bdf to u8g converter. The bitmaps are extracted and converted to the internal u8g format without any additional transformation.

Oliver