True Type Fonts

Paul Dickson plug-discuss@lists.plug.phoenix.az.us
Sat, 18 May 2002 07:47:08 -0700


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