Font configuration files

A font configuration file for use with the dkfont.h module consists of up to 35 section, one section for each of the 35 PS fonts.

Each section is started by the PS font name in square brackets, the list of possible replacement fonts follows. Each replacement font is started by a line ``name = ...''. The remaining lines in the replacement description are key/value pairs, key and value are separated by ``=''.

The following keys are allowed:

The following example is an excerpt from ``combfont.cfg''. We should first attempt to use a system font. If this font is not available SVG viewers can attempt to use the SVG variant of the GhostScript font. The SVG variant must be placed in a directory ``./urw-svg'' relative to the image file referencing the font.

[Times-Roman]
name    =       Times New Roman
        source type     =       system
        features        =       roman
        family          =       Times New Roman
        driver          =       *
name    =       NimbusRomanNo9L-Regu
        source type     =       download
        directory       =       ./urw-svg
        file name       =       n021003l.svg
        features        =       roman
        family          =       Nimbus Roman No9 L
        driver          =       svg
        font type       =       svg

Generated on Thu Jan 8 16:02:50 2009 for dklibs by  doxygen 1.5.6