delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/08/08:45:24

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: Wed, 08 Jul 1998 12:25:05 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 22
Message-ID: <6nvof1$l4l$1@nnrp1.dejanews.com>
References: <199807030019 DOT BAA27198 AT sable DOT ox DOT ac DOT uk> <6nip5d$88h$1 AT nnrp1 DOT dejanews DOT com> <1998Jul7 DOT 113610 DOT 16036 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 <1998Jul7 DOT 113610 DOT 16036 AT catorobots DOT ox DOT ac DOT uk>,
  neil AT robots DOT ox DOT ac DOT uk (Neil Townsend) wrote:

> The other thing I noticed, which doubtless you are all aware of, is that PCX
> fonts drived from TTf fonts are quite high (especially using the DOS
> TTF2PCX), with (sensibly) space for accents and descenders. Under allegro,
> however, this information is not explicitly available (as far as I could
> see) and it would be useful for aligning certain forms of text. Well, I
> needed to know it anyway. So, in case it's of any use to anyone, here's a

I'd love to know it too.  However there is nothing that I could find in the
Freetype docs or examples that tells how high and low a character has to be
so as not to cutt off accents and descenders.  I just chose some values that
worked	with the fonts that I had tried.  It looks similar to the output of
the Windows TTF2PCX, which use some windows functions that (I assume) are
sensibly set.

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