[tex-k] kpathsea: Illegal fontname `cmr12+50'

Hartmut Henkel hartmut_henkel at gmx.de
Wed Nov 19 23:47:13 CET 2003


Hi,

in the kpathsea used in pdftex-1.11b, when trying to use expanded fonts,
pdftex gives the error:

kpathsea: Illegal fontname `cmr12+50': contains '+'

The plus sign is not allowed in the tfm string. It seems that this
blocks using of expanded fonts in pdftex, so that the HZ-algorithm can't
be used. The patch would be easy:

--- ../../../../pdftex-1.11b/src/texk/kpathsea/tex-make.c	Mon Dec 23 08:22:57 2002
+++ tex-make.c	Wed Nov 19 23:44:24 2003
@@ -491,6 +491,7 @@
     }
     for (i = 0; base[i]; i++) {
       if (!ISALNUM(base[i])
+          && base[i] != '+'
           && base[i] != '-'
           && base[i] != '_'
           && base[i] != '.'

Would this have other negative consequences?

Greetings, Hartmut


More information about the tex-k mailing list