delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/23/21:55:27

From: DougEleveld <deleveld AT my-dejanews DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: TrueType fonts in Allegro - HELP!
Date: Wed, 23 Jun 1999 19:25:24 +0200
Organization: Rijksuniversiteit Groningen
Lines: 23
Message-ID: <37711884.EC9A1B0B@my-dejanews.com>
References: <929806761 DOT 391623 AT diddley DOT primus DOT com DOT au> <376cd91b DOT 11397514 AT news DOT mad DOT ttd DOT net> <930119014 DOT 973126 AT diddley DOT primus DOT com DOT au>
NNTP-Posting-Host: client36-237.oprit.rug.nl
Mime-Version: 1.0
X-Mailer: Mozilla 4.6 [en] (Win95; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Steven Taylor wrote:
> By the way, I already have ttf2pcx and it is ok for some simple stuff, but
> the memory blowout of using multiple fonts and sizes is absolutely
> ridiculous.

I noticed this also and wrote some code to compress fonts in memory with
RLE.
It makes fonts -way- smaller in memory, and will draw the font 20%
faster with
no background and 2.5 times as slow with a filled background.  The font
cannot 
be antialiased, but useage is real easy and works right in with the
Allegro fonts.

You can find the source in the projects section of my homepage:

http://huizen.dds.nl/~deleveld/

It should make easily and there are even some demo programs...

Have fun,

Doug Eleveld

- Raw text -


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