[NTG-context] Texfont map file.

Hans Hagen pragma at wxs.nl
Thu Oct 6 23:30:57 CEST 2005

John R. Culleton wrote:

>I always believed that when referring to a file in  a \font
>statement one should use the first name found in the appropriate
>line in the map file. This is supposedly the name of the tfm file
>for that particular font. However texfont produces a map file
>like this:  
>8r-raw-AGaramond-Italic AGaramond-Italic 4 < AGaramond-Italic.pfb 8r.enc
>8r-raw-AGaramond-Regular AGaramond-Regular 4 < AGaramond-Regular.pfb 8r.enc
>8r-raw-AGaramond-RegularSC AGaramond-RegularSC 4 < AGaramond-RegularSC.pfb 
>...and texfont actually produces two tfm files per font. The
>correct name to use in a \font statement is the second name in
>the generated map file statement, not the first. Since not all
>map file statements have the second parameter this can be
>Since texfont attempts to provide for both pdftex and Context
>users this little gotcha should be referenced in the texfont
>manual. I discovered it by accident. 
texfont is doing it right -) 

what you observe is virtual font handling (which involves multiple tfm/vf metric files) 


                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl

More information about the ntg-context mailing list