Mail Archives: djgpp/1997/02/01/10:36:39
Steven Cook writes:
>Hi, I am writing some allegro code and don't like the default font, that
>is used. Where can I find different fonts or information on how to create
>my own fonts.
The easiest approach is to use the grabber utility to insert fonts into
a datafile (look at examples/ex12 for a demo of how to do this). The
grabber can read GRX format .FNT files (there are a lot of these in the
GRX distribution), and from PCX images that have each character
surrounded by a box of color #255, which you can draw in a paint
program.
Alternatively, on my web page there is a win95 utility called ttf2pcx,
that converts TrueType fonts into PCX images which can be read by the
grabber.
/*
* Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
* Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
*/
- Raw text -