why not embedding the bitmaps for different resolutions fonts? I think that rendering pixel per pixel is just a waste of time. you can even create you beautiful font in any good graphical tool and then convert it to text include files.
why not embedding the bitmaps for different resolutions fonts? I think that rendering pixel per pixel is just a waste of time. you can even create you beautiful font in any good graphical tool and then convert it to text include files.
I have no comparison but I think using the rectangles is fast enough. I made a test with 1000 x "Hello crazy World" with random colours, positions, alphablends and textsizes. The result is (on my machine here): 176 ms.
fonttest.jpg
Best regards,
Cybermonkey
Bookmarks