olikraus / m2tklib

Automatically exported from code.google.com/p/m2tklib
Other
49 stars 11 forks source link

U8NUM field width calculation #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is currently based on the lowercase "m" width. This is will be wrong for 
very large fonts (fub25) and is in general wrong. Maybe introduce another 
message for this and return the width of "0"

Original issue reported on code.google.com by olikr...@gmail.com on 10 May 2012 at 4:48

GoogleCodeExporter commented 9 years ago
new message introduced, u32 and u8num updated. NUM_CHAR_WIDTH currently maps to 
CHAR_WIDTH on all devices except for u8g lib. 
--> tested with u8glib (sdl)

Original comment by olikr...@gmail.com on 10 May 2012 at 8:50