[NTG-pdftex] Automatic pk generation

Hartmut Henkel hartmut_henkel@gmx.de
Thu, 11 Dec 2003 01:07:50 +0100 (CET)


it seems that pdftex and pdfetex currently don't automatically produce
pk fonts, when missing. Instead a warning is produced. Walter Schmidt
and Frank K=FCster commented on this in a recent post in de.comp.text.tex
("Re: pdflatex-Fehler mit tipa", Date: Tue Dec 09 18:17:10 CET 2003).

The reason seems to be, that in file texk/kpathsea/tex-make.c, function
kpse_make_tex() the parameter spec.program_enabled_p always is zero, so
that the maketex() function required for pk generation is never called.

I don't know whether this is wanted by design. And nowadays in most
cases Type 1 fonts are used. But the automatic generation of pk files
could be activated by a tiny change in file web2c/lib/texmfmp.c. Here is
the patch; the line is borrowed from texk/dvipsk/dvips.c:

--- /usr/local/src/tex/pdftex-1.11b-orig/src/texk/web2c/lib/texmfmp.c=09Mon=
 Sep 15 17:23:29 2003
+++ texmfmp.c=09Thu Dec 11 00:40:02 2003
@@ -248,6 +248,9 @@
 #endif /* MP */
 #ifdef TeX
+#if defined(pdfTeX) || defined (pdfeTeX)
+kpse_set_program_enabled (kpse_pk_format, MAKE_TEX_PK_BY_DEFAULT, kpse_src=
 #if defined(Omega) || defined (eOmega)
   kpse_set_program_enabled (kpse_ocp_format, MAKE_OMEGA_OCP_BY_DEFAULT,

Regards, Hartmut