Mail Archives: djgpp/1998/07/02/22:15:46
Neil Townsend wrote in message <1998Jul2 DOT 173255 DOT 9871 AT catorobots DOT ox DOT ac DOT uk>...
>I've installed djgpp, rhide and allegro successfully to my DOS system and
>have compiled the examples and some of my (simple) graphics code
>succesfully. I am, however, a little lost concerning fonts. I have got the
>fonts that come with allegro and an extra block which the allegro web pages
>point to, and I'm quite happy using simple fonts, however, I need some
large
>fonts (of the order of 100 pixels high). What avenues should I pursue, FAQs
>should I read please? I've looked at allegttf, which looks like it may be a
>solution, but the documentation with it left me unsure as to whether this
>type of scalability was possible.
>
>Sorry if this is obvious to you all,
>
>Many thanks,
>
>Neil
>
>--
>Neil Townsend +44 (1865) 273121 neil AT robots DOT ox DOT ac DOT uk
There is a program called TTF->PCX which will convert any true type font you
have on your computer into a graphics which you can put into a datafile and
use as font information. When converting, just specify 100 pixels.
To use the font in the datafile (see the allegro examples to learn more
about this) you substitute 'font' for
your_datafile_pointer[YOUR_FRONT].dat
There's more information about this in the allegro docs.
Barry Gillhespy
www.magma.force9.co.uk
- Raw text -