www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/04/00:01:02

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Text with Allegro
Date: Tue, 3 Mar 1998 23:14:53 +0000
Organization: None
Message-ID: <rNpZ3BAt7I$0Ew06@talula.demon.co.uk>
References: <6ckncl$abq$1 AT toralf DOT uib DOT no>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 23
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>I only get the 8X8 font. If I got it right I can use the Grabber to set 
>up a new font based on my own fonts...? Trouble is, I don't know how to 
>make fonts with the Grabber or with any other program. Is it
>really that troublesome?

It is really quite easy! The grabber can import fonts directly from GRX
format .fnt files (you can find a lot of these in the GRX package) and
from BIOS format 8x16 .fnt files (there are loads of these scattered
around the net), as well as from .pcx or .bmp files which have been
layed out in a particular way. You can use the ttf2pcx utility (on my
website in the utilities section) to convert any Windows fonts into this
.pcx format, or you can just draw a font yourself with a paint program.
To get an idea how this file should be layed out, use the grabber to
export one of the sample fonts (from demo.dat or example.dat) into an
image file and look at what it produces.

When it come to using these fonts, look at the ex12.c for a demo of how
to access them.


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa

- Raw text -


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