Hey andru - was looking through my options a while back on how to get a TTF file to a image of some kind... Inevitably thought of ZenGl and its ZenFont (LCL) application. Although that was a doddle to get working with some primitive and rudimentary yet quite fast ord, char and some tile management. However this was all monospace so I turned to that other file ZenFont generates...
As my hex editor digging suggests, this is the spacing information for characters (This is not definite - my hex editor skills are rusty at best).... I was wondering if, as it was under the GNU/GPL license, it was possible to get a tip or two on how I would go about reading that file byte by byte (or variable by variable)?
I had a look through the source, but being neither a lazarus user or a ZenGL user by default it doesn't make much sense to me. The main reason is that as I was planning to remove sdl for ttf support (and ttf are easy to come by and nice) the ZenGL solution would save me from re-inventing the wheel
Cheers,
code_glitch
Bookmarks