delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/30/02:25:07

From: "Damian Yerrick" <die DOT spammers AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fonts in Allegro?
Date: Sun, 29 Aug 1999 22:06:48 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 13
Message-ID: <7qcsii$736$1@solomon.cs.rose-hulman.edu>
References: <37C99E6C DOT 362EE0DF AT swipnet DOT se>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 935982482 7270 137.112.205.227 (30 Aug 1999 03:08:02 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 30 Aug 1999 03:08:02 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Situation: Erik Ellingsson knows how to make, load, and display fonts in
Allegro using Grabber.exe and textout().
Problem: He wants to resize them dynamically.
Solution: If you want to display one font in several sizes, what you want is
a TrueType(R) library. Get one from the Allegro web site
http://www.talula.demon.co.uk/allegro/
If you just want to store several bitmapped sizes of a TrueType font, get
TTF2PCX (also on Allegro's site).
If you want to see how to write a game using the Allegro driver library,
check out the full source code to the popular game DOSArena:
http://come.to/yerrick


- Raw text -


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