www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/22/20:15:23

From: Viper Arrakyd <arrakyd AT club-internet DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Clueless bloke looking for help
Date: Thu, 21 Jan 1999 22:42:11 +0100
Organization: Club-Internet (France)
Lines: 15
Message-ID: <36A79F33.EF8AA2D1@club-internet.fr>
References: <36A7854A DOT 619B1A22 AT hotmail DOT com>
NNTP-Posting-Host: montlucon2-165.club-internet.fr
Mime-Version: 1.0
X-Trace: front1.grolier.fr 916954858 6360 195.36.176.165 (21 Jan 1999 21:40:58 GMT)
NNTP-Posting-Date: 21 Jan 1999 21:40:58 GMT
X-Mailer: Mozilla 4.5 [fr] (Win98; I)
X-Accept-Language: fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> int main()
> {
>     FONT *myfont="c:/djgpp/fonts/ncen22.fnt";
>

You can't use fonts like this.
The above line tries to put a string in myfont.

To use a different font, you have to create one with ttf2pcx (Allegro homepage)
and grab the resulting pcx file with the allegro grabber.

There's an example showing how to do this.
But I can't remember which one.


- Raw text -


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