delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/04/10:25:36

Message-ID: <37572FE8.6D8B@ns.sympatico.ca>
From: Klaas <klaas AT ns DOT sympatico DOT ca>
Organization: N/A
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fonts
References: <KiE53.592$5K3 DOT 29876 AT dfiatx1-snr1 DOT gtei DOT net>
Lines: 18
Date: Thu, 03 Jun 1999 22:46:16 -0300
NNTP-Posting-Host: 142.177.71.88
X-Trace: sapphire.mtt.net 928461100 142.177.71.88 (Thu, 03 Jun 1999 22:51:40 ADT)
NNTP-Posting-Date: Thu, 03 Jun 1999 22:51:40 ADT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Nathan "DrumNark" Brown wrote:
> 
> How would I go about loading a font into the c file?? I use allegro if that
> helps. I have tried downloading library extensions from the net, but they
> don't EVER work. So I come here to post. I just want to know how I can get a
> windows font to the djgpp file. I have dloaded a ttf->pcx converter from the
> net, but I don't know where to go from there. Thanks
> 
> -nathan brown

Just use the ttf->pcx to convert a ttf font into a pcx font.  Then, load
the font from the pcx file into a dat file by the grabber.  Finally,
access the font from the dat file inside your program.

You can also create the pcx font yourself (look at the example fonts,
you'll figure it out).

-Mike

- Raw text -


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