[dvipdfmx] "mktexpk" is not disabled for fonts loaded by relative path

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Mon Oct 19 16:30:41 CEST 2020


> I need to disable automatically calling "mktexpk" on a font in dvipdfmx.
> The standard way to do this (used by dvips) is to load the font via
> absolute or relative path, like this:
>
>     \font\x=./myfont
>
> But dvipdfmx fails to follow this convention. The result is that I
> cannot use dvipdfmx with locally created fonts.
> (see more at https://tex.stackexchange.com/questions/565446/)
>
> Please fix "dvipdfmx" that it will work like "dvips".

It seems that dvips behavior when absolute or relative path is used
is to use a pk font and to look for it only in the specified path.
(And as kpathsea convention mktexpk is not automatically called
to generate pk font in this case)


I still don't understand why dvipdfmx needs to be "fixed" so that
it works like "dvips".

> But dvipdfmx fails to follow this convention. The result is that I
> cannot use dvipdfmx with locally created fonts.

In dvipdfmx mktexpk is called only when any other fonts including
your locally created fonts cannot be used. I don't know what you
are trying to do by disabling automatic call of mktexpk.


Thanks,
Shunsaku Hirata


More information about the dvipdfmx mailing list.