Re: Font question...

Shaw Terwilliger (sterwill@postman.sourcegear.com)
Thu, 23 Sep 1999 00:10:24 -0500


David Schmitz wrote:
> Just exactly where (I suspect in src/af/gr/unix/gu_UnixGraphics.cpp no?)
> and how does AbiWord decide which fonts are available from X? Shouldn't
> it be able to use any Postscript fonts I've installed?

Actually, it only selects from the "abisuite" foundary. It does
this because AbiWord will not be able to print using a Type 1
font that doesn't have any print metrics (.afm) with it.

To add fonts, take a look at /usr/share/abisuite/fonts/fonts.dir,
which is read by AbiSuite to load available fonts when it starts.
It might be in /usr/local/AbiSuite/fonts depending on the package
you installed. It's the same format as a normal X font index,
and you can add fonts to it as you wish.

It's possible to edit ~/.AbiSuite/AbiWord.Profile to add more paths
in which to search for fonts. Be sure that any fonts you add have
both a .pfa or .pfb and their .afm files or printing such a document
will probably be unsuccessful. AbiWord will look for both these
types of files in the same directory in which the fonts.dir is located,
even though only the .pfa/.pfb needs to be specified in the
fonts.dir.

-- 
Shaw Terwilliger


This archive was generated by hypermail 1.03b2.