True Type Fonts

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: Paul Dickson
Datum:  
Onderwerp: True Type Fonts
On Fri, 17 May 2002 23:58:09 -0700, Greg Furmanek wrote:

> Is anyone aware of a way to calculate width of
> True type fonts?
>
> I am interested in how many pixels wide would a
> word be constructed with some font, and that should be
> calculated dynamically depending on font size and type.
>


The Xserver can tell you this for display characters. You're pretty much
on your own for typesetting (ie printing).

AbiWord has a pretty good high-level explanation of how fonts work on
Linux. It's on their web site FAQ under trouble shooting as well as
in their installed documentation.

    -Paul