2011/2/21 mattschinkel <[email protected]> > No, bytes per character is not it's width. It is actually now many > bytes a character takes. It could be removed if we assume font sets > have the same number of characters. >
BTW, have a look at 18f4550_nokia_3310_udf.jal. It declares a user defined font (UDF), there are only 5 chars, which are actually some kind of sprites. Sample animates these sprites (looks like a twisting bow). In order to walk amongst each sprite, I had to set index = 32, because all lcd_write_char implementations assumes ASCII chars. This makes me wonder if we should have a lcd_write_sprite() or if we should add a new parameter to font information (FONT_5x7_OFFSET = 32 -- ascii, = 0 -- sprite, etc...). So, it's just to show all fonts can't have the same number of chars, particularly if you like to play with sprites (I'm sure you will :)). Cheers, Seb -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
