Mail Archives: djgpp/1999/06/23/03:30:23
Hi.
If you've been watching closely, you may have read my post about using
TrueType fonts in DJGPP + Allegro. I was up until almost sunrise and I
finally had success. I printed out around 40 pages of FreeType documentation
and pulled my hair out for about a week. Last night I got results.
I can now successfully render any true-type font in Allegro just the way it
ought to be rendered. I achieve this by NOT using Allegro's font type. No
offence intended, since I understand the FONT struct has a long history and
provides compatibilty and simplicity. It's just that it's not up to the task
of rendering TrueType fonts properly.
Anyway, the whole point of this is that when I tidy up the code and add some
nice basic features, I will release it. The first release will be ready in
about a week. All releases will be source-only and made available under the
same terms as the wonderful Allegro gift-ware license. Of course, the
distribution will come with FreeType and all parts that are FreeType have a
seperate license. The good part is that the FreeType license allows
royalty-free commercial usage. All they ask is that you give them _visible_
credit and don't pretend that you wrote any of the code yourself.
Please note that I'm not just pounding my chest and making a noise. Like I
said, I have already had success rendering fonts as they should be, and may
I just say that the results are very sexy. It's only a matter of rearranging
my code and providing a simple and powerful interface.
No need to reply, just watch this newsgroup and possibly the Allegro page.
I'm sure Shawn would be happy to include a link to this.
Regards,
Steven Taylor.
- Raw text -