delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/02/22:15:46

From: "Bgillhespy" <inbox AT magma DOT force9 DOT nospam DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro / fonts - dumb new user seeks advice
Date: Thu, 2 Jul 1998 22:17:41 +0100
Organization: Force 9 Internet
Lines: 37
Message-ID: <6ngt5a$b58@news3.force9.net>
References: <1998Jul2 DOT 173255 DOT 9871 AT catorobots DOT ox DOT ac DOT uk>
NNTP-Posting-Host: 227.hiper01.shef.dialup.force9.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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