[tex-k] Kpathsea: kpse_find_file() incorrectly works with OFM format
Igor Liferenko
igor.liferenko at gmail.com
Wed Apr 14 04:13:22 CEST 2021
Hi all,
I found the cause of the problem:
This line in dvipdfm-x/tfm.c:
kpse_find_file(tfm_name, kpse_ofm_format, 0)) != NULL) {
should be changed to
kpse_find_file(ofm_name, kpse_ofm_format, 0)) != NULL) {
(taking care that ofm_name is initialized)
BTW, in dvips, ".ofm" is appended to font name before calling kpse_find_file()
with "kpse_ofm_format" (see dvips/tfmload.c:58):
sprintf(name, "%s.ofm", n);
Best,
Igor
More information about the tex-k
mailing list.