Next Up Previous Contents
Next: 3 Usage notes
Up: 2.5 Finding and generating fonts
Previous: 2.5.3 Generating fonts by hand
[ID index][Keyword index]

2.5.4 Font-string templates

The search-path and font-finder routes use font-string templates. Here, the components of a font file name, or a font-finding command, are specified using placeholders like %f. You may use

%Mmode (eg. ibmvga)
%ffont name (eg. cmr10)
%ddpi (eg. 330)
%bbase dpi (eg. 110)
%mmagnification (eg. 3)
%%%
Thus, using these values as an example, if one of the entries in DVI2BITMAP_PK_PATH were /var/tmp/%M/%f.%dpk, this would expand into /var/tmp/ibmvga/cmr10.330pk. Alternatively, if we had given the font-finder script as /usr/local/teTeX/bin/kpsewhich pk %f.%dpk, the dvi2bitmap would have executed the command .../kpsewhich pk cmr10.330pk, which would have returned with a suitable font path.


Next Up Previous Contents
Next: 3 Usage notes
Up: 2.5 Finding and generating fonts
Previous: 2.5.3 Generating fonts by hand
[ID index][Keyword index]
Dvi2bitmap -- convert DVI files to bitmap images
Starlink System Note 71
Norman Gray
14 June 1999. Release 0.12. Last updated 20 December 2003