True Type Fonts

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Paul Dickson
Dato:  
Emne: 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