delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/23/03:30:23

From: "Steven Taylor" <s_taylor AT primus DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Success - TrueType fonts in Allegro!
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Internet Primus
Message-ID: <930120262.810355@diddley.primus.com.au>
Cache-Post-Path: diddley.primus.com.au!unknown AT ras196 DOT ports DOT adel DOT primus DOT com DOT au
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
Date: Wed, 23 Jun 1999 16:13:09 +0930
NNTP-Posting-Host: 203.134.0.92
X-Complaints-To: abuse AT telstra DOT net
X-Trace: nsw.nnrp.telstra.net 930120261 203.134.0.92 (Wed, 23 Jun 1999 16:44:21 EST)
NNTP-Posting-Date: Wed, 23 Jun 1999 16:44:21 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019