delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/04/04:57:14

Sender: root AT delorie DOT com
Message-ID: <3757B148.6C98237B@pmail.net>
Date: Fri, 04 Jun 1999 10:58:16 +0000
From: Fred Backman <fredrick DOT backman AT pmail DOT net>
Organization: http://www.femmefetish.com
X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Fonts
References: <KiE53.592$5K3 DOT 29876 AT dfiatx1-snr1 DOT gtei DOT net>
Reply-To: djgpp AT delorie DOT com

Once you have converted the font to PCX format, you can use the grabber (look
inside the Allegro folder, under "tools") and import the font into the grabber
and save it as a datafile. Then you can load the font from the datafile! I'm
sure there's an easier way to do it but if you plan on using other graphics or
sounds you might as well use a datafile for all of these.

Check the Allegro examples on how to load the font! Search for "load_datafile"
and "font" and you will find it! For info on how to use the grabber, read
grabber.txt (or perhaps it's called readme.txt) in the tools folder!

GOod luck!

ps. Read the allegro mailing list too:
http://www.talula.demon.co.uk/allegro/maillist.html

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

- Raw text -


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