Fonts

Fonts are defined by listing them in the file fonts.txt, which is installed in ${prefix}/share/siag/common, usually /usr/local/share/siag/common. The format of the file is:
[Font Name]   Name as it appears to the user
X=roman|italic|bold|italicbold        X fonts
PS=roman|italic|bold|italicbold       PS fonts for printing
T1=roman|italic|bold|italicbold       T1 fonts (used by libt1)

Example

[Avant Garde]
AFM=agw.afm|agwo.afm|agd.afm|agdo.afm
X=-*-courier-medium-r-*--*-%d-%d-%d-*-*-*-*|-*-courier-medium-i-*--*-%d-%d-%d-*-*-*-*|-*-courier-bold-r-*--*-%d-%d-%d-*-*-*-*|-*-courier-bold-i-*--*-%d-%d-%d-*-*-*-*
PS=AvantGarde-Book|AvantGarde-BookOblique|AvantGarde-Demi|AvantGarde-DemiOblique 
[Bitstream Charter]
AFM=bchr.afm|bchri.afm|bchb.afm|bchbi.afm
X=-*-new century schoolbook-medium-r-*--*-%d-%d-%d-*-*-*-*|-*-new century schoolbook-medium-i-*--*-%d-%d-%d-*-*-*-*|-*-new century schoolbook-bold-r-*--*-%d-%d-%d-*-*-*-*|-*-new century schoolbook-bold-i-*--*-%d-%d-%d-*-*-*-*
T1=CharterBT-Roman|CharterBT-Italic|CharterBT-Bold|CharterBT-BoldItalic
The AFM directive specifies where the font metric files are. If the files are not available, X metrics will be used instead which will be less precise.

The afm files are by default installed in the directory ${prefix}/share/siag/common/fonts.


Ulric Eriksson - August 2000 - ulric@siag.nu