[tex-k] How dvips loads tfm files for virtual fonts?
igor.liferenko at gmail.com
Fri Apr 8 08:37:32 CEST 2022
Dvips does not load tfm-files for fonts which are not listed in psfonts.map
This can be verified with this these commands:
echo 'A \bye' >x.tex
dvips -Ppdf -d -1 x 2>&1 | grep 'fopen.*tfm' # tfm is opened
dvips -Ppk -d -1 x 2>&1 | grep 'fopen.*tfm' # tfm not opened
Virtual fonts are not present in map-file.
But their metrics should be loaded, as these metrics are actually
used during the typesetting (not the metrics of underlying fonts).
echo '\font\ptm=ptmr7t \ptm A \bye' >y.tex
dvips -Ppk -d -1 y 2>&1 | grep 'fopen.*tfm'
We see that ptmr7t.tfm is not loaded. Why?
Also, which rules determine that ptmr8r.tfm is loaded? And if a
virtual font would
consist of more that one font, will metrics for all of them be loaded?
More information about the tex-k