www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/03/10:15:33

From: D DOT J DOT Eleveld AT anest DOT azg DOT nl
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro / fonts - dumb new user seeks advice
Date: Fri, 03 Jul 1998 14:09:08 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 28
Message-ID: <6niom4$7ke$1@nnrp1.dejanews.com>
References: <1998Jul2 DOT 173255 DOT 9871 AT catorobots DOT ox DOT ac DOT uk>
NNTP-Posting-Host: 192.87.23.66
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <1998Jul2 DOT 173255 DOT 9871 AT catorobots DOT ox DOT ac DOT uk>,
  neil AT robots DOT ox DOT ac DOT uk (Neil Townsend) wrote:

> 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.

Yes, allegttf lets you read in fonts in whatever sizes you want, even 100
pixels high.  You can even independantly adjust the horizontal and vertical
point sizes etc.  With such large fonts, you should not use any smoothing, if
you are using filled backgrounds backgrounds as the internal scratchpad is of
limited size Allegttf 1.0 it was 32x32, but it's now 128x128 in the almost
ready 1.2 version.)  Anyway, you won't really need to use smoothing on such
large fonts, since they will look good anyway.

By the way, a 100 pixel font is going to use a lot of memory.  You can try to
reduce it by using the RLEFONT package which can drastically reduce the memory
required, and it only costs a tiny bit of speed.  You can find the RLEFONT
package (along with ALLEGTTF) at http://huizen.dds.nl/~deleveld/index.htm

Hope this helps,

Doug Eleveld

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum

- Raw text -


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