[tex-k] mktexpk broken, pdftex PK flaw

Hartmut Henkel hartmut_henkel at gmx.de
Fri Nov 11 21:57:34 CET 2005

On Fri, 11 Nov 2005, Taco Hoekwater wrote:

> Hartmut Henkel wrote:
> > Second problem: In the past there were several e-mails complaining that
> > during a pdftex run, mktexpk is trying to make a weird 72 dpi font, when
> > the font PFB was not mentioned in the map file --- even when the right
> > PK resolution and mode are given in mktex.cnf! This has always been
> > attributed to a mapfile problem and then "solved" by a mapfile so that
> > in fact Type1 fonts were used. But the problem persists with PK fonts,
> > which should also run ok.
> Hey, cool! Thanks for sorting this out.

Well, i have to admit now that it's not solvable as i had naively
guessed. Seems the mktex.cnf is a file that is read only by the shell
program mktex.opt, and kpse has no idea of it (i had thought it has and
it's integral part of kpse). So one can't get the default dpi info from
mktex.cnf easily into pdftex, and the dpi value also isn't in the
environment. But unfortunately the dpi are required for calculating
pk_scale_factor, a quantity used inside pdftex. So maybe one has to live
with really always setting \pdfpkresolution to the right value?

Regards, Hartmut

More information about the tex-k mailing list