ttf fonts status


Subject: ttf fonts status
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Sat Feb 17 2001 - 02:55:55 CST


> Sounds like this means that TrueType and Type 1 fonts now have equal status
> in the Linux versions of AbiWord. That's awesome! :-)
No entirely; the ttf printing only works with Ghostcript at the
moment; it will not work on a genuine PS printer, because the ttf
fonts do not get embeded into the PS output. To do that we need
to generate PS Type 42 font from the ttf font, we then embed the
Type 42 font. I am looking into it, there should be some programme
around that does the conversion (Type 42 is just kind of a PS
wrapper around the raw ttf font).
 
> Just for grins, I'd like to ask the obvious followup question -- is there
> any reasonable way to automate the creation of fonts.dir entries, too? It'd
> be too cool if the process for installing new fonts was this simple:
>
> 1. Drop it (or a symlink) in the fonts directory.
> 2. Relaunch AbiWord.
> 3. Your new font Just Works.
>
That should be possible, but we would have to run mkfontdir and
some support programmes every time we launch AW; I am bit
reluctant to go in this direction, because it means doing things
behind people's back and potentially undoing any changes that
they did by hand. I think it would be better to have something like
Tools->Install New Font on the AW menu.

What I would like to add first though, is the pfa2afm utility to
generate afm files from pfa fonts in the same manner we do with ttf
fonts so that installation of both types of fonts would only involve
adding the actual font file.

Tomas



This archive was generated by hypermail 2b25 : Sat Feb 17 2001 - 03:02:20 CST