Re: True Type fonts

Shaw Terwilliger (sterwill@postman.sourcegear.com)
Tue, 7 Sep 1999 10:59:25 -0500


Phackwer wrote:
> I installed a truetype font server on my linux box and, unfortunatelly,
> Abiword doesn't seem to make use of them. As it is a GTK application, I
> wonder why? GIMP does make use, and also Netscape. Why can't Abisource?
> That's all I ask you to do, please...

Most "normal" GTK apps use X fonts exclusively, because what
they demand of them is minimal. For example, most programs use fonts
in a "write-only" way. A font is selected by the user and the program
draws to the screen with it. We need much more detailed information
to get decent on-screen and printed results. AbiWord needs to
know detailed measurements of the glyphs in each font (called metrics),
and X just doesn't give these to us in any useful form. Also,
we need to know the dimensions of the fonts we're printing with.
X doesn't provide a way to get printable metrics for scalable fonts
(X is about computer graphics, not printing). X also does not allow us
to grab font data for embedding in printed text.

Our solution is to keep a copy of scalable Type 1 fonts locally,
and use the X metrics for screen drawing and the Type 1 metrics
for printing.

-- 
Shaw Terwilliger


This archive was generated by hypermail 1.03b2.