Next: , Previous: , Up: Invoking groff   [Contents][Index]


2.4 Font Directories

groff enforces few restrictions on how font description files are named. For its family/style mechanism to work (see Font Families), the names of fonts within a family should start with the family name, followed by the style. For example, the Times family uses ‘T’ for the family name and ‘R’, ‘B’, ‘I’, and ‘BI’ to indicate the styles ‘roman’, ‘bold’, ‘italic’, and ‘bold italic’, respectively. Thus the final font names are ‘TR’, ‘TB’, ‘TI’, and ‘TBI’.

Font description files are kept in font directories, which together constitute the font path. The search procedure always appends the directory devname, where name is the name of the output device. Assuming TeX DVI output, and /foo/bar as a font directory, the font description files for grodvi must be in /foo/bar/devdvi. Each directory in the font path is searched in the following order until the desired font description file is found or the list is exhausted.


Next: , Previous: , Up: Invoking groff   [Contents][Index]