Message-Id: <199807030019.BAA27198@sable.ox.ac.uk> Comments: Authenticated sender is From: George Foot To: neil AT robots DOT ox DOT ac DOT uk (Neil Townsend) Date: Fri, 3 Jul 1998 01:14:23 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Allegro / fonts - dumb new user seeks advice Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk CC: djgpp AT delorie DOT com Precedence: bulk On 2 Jul 98 at 17:32, Neil Townsend wrote: > 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. I'm not sure where you would find such large fonts already prepared as font files. I'd expect allegttf to be a good way to produce them yourself, though. Didn't it work? If allegttf can't help you, try the `ttf2pcx' program linked from the Allegro web pages. It's a Windows program that converts a TTF into a PCX file, which contains the font at a specified size. You can then import this PCX file into the Grabber as a font object, load the created datafile into your programs, and access the font from there. You need a Windows machine on which to run ttf2pcx though. I don't think there are any specific FAQs you can read about this; try the Allegro documentation though. `grabber.txt' (in the `tools' directory of Allegro) explains (from line 391 in my copy) how to import fonts into the grabber, in particular from PCX or BMP bitmaps. In this way you can design your own font, or copy one from elsewhere. This is how ttf2pcx's system works -- it generates the PCX file that the grabber can read. -- george DOT foot AT merton DOT oxford DOT ac DOT uk