font problems
Posted: Thu Nov 17, 2011 10:35 pm
font display is still causing problems, mainly white boxes rather than fonts.
It seems to work for power-of-2 texture sizes now. see attached .love file : should display 3 lines with different font,
1) default font in white (works correctly on my milestone)
2) non-power-of-2 image font in black (316x6) (i only get white boxes on my milestone)
3) power-of-2 (512x8) image font in red (works correctly on my milestone)
4) non-power-of-2 image used for the font (316x6) (i only get a big white box on my milestone)
ttf/truetype font's don't work yet, if anyone knows how to use the android/java api to extract glyphs into an image, please tell me =)
It seems to work for power-of-2 texture sizes now. see attached .love file : should display 3 lines with different font,
1) default font in white (works correctly on my milestone)
2) non-power-of-2 image font in black (316x6) (i only get white boxes on my milestone)
3) power-of-2 (512x8) image font in red (works correctly on my milestone)
4) non-power-of-2 image used for the font (316x6) (i only get a big white box on my milestone)
ttf/truetype font's don't work yet, if anyone knows how to use the android/java api to extract glyphs into an image, please tell me =)