Mail Archives: djgpp/1999/06/04/04:57:14
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 -