next up previous contents index
Next: Alternative Runtime Setups Up: Runtime-Setup Previous: The t1lib Configuration File   Contents   Index


The Font Database File

This is one more file important at startup time. I call it ``font database file'' because it makes fonts declared in this file known to the library. Moreover, the association declared font $\Longleftrightarrow$ FontID is done using information from this file. The format specification of this file is relatively free. Here are the exact rules: The format described above may seem to be underspecified, but it has been chosen to be compatible with the SciFonts-fileformat, which is used during the initialization of the SciTeXt word processor.
Example 1: A minimal font database file for 4 fonts:

4
isvl.afm
isvli.afm
isvd.afm
isvdi.afm

This file is minimal, because it contains just the information needed, and nothing not needed by t1lib.

Example 2: A more realistic example, which allows an application to match a fully qualified X11 fontname to a FontID in t1lib. This is also a valid font database file:

4
Souvenir   Souvenir-Light        ---   -itc-souvenir-light-r-normal--#-0-0-0-p-0-iso8859-1  isvl.afm
"          Souvenir-LightItalic  -*-   -itc-souvenir-light-i-normal--#-0-0-0-p-0-iso8859-1  isvli.afm
"          Souvenir-Demi         *--   -itc-souvenir-demi-r-normal--#-0-0-0-p-0-iso8859-1   isvd.afm
"          Souvenir-DemiItalic   **-   -itc-souvenir-demi-i-normal--#-0-0-0-p-0-iso8859-1   isvdi.afm


next up previous contents index
Next: Alternative Runtime Setups Up: Runtime-Setup Previous: The t1lib Configuration File   Contents   Index
2004-10-04