[tex-k] kpathsea: Illegal fontname `cmr12+50'
Hans Hagen
pragma at wxs.nl
Thu Nov 20 09:14:41 CET 2003
At 23:47 19/11/2003, Hartmut Henkel wrote:
>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?
I don't think so, it has always worked (otherwise thanh could not have
written his thesis -)
Thanks for your quality patch work!
Hans
More information about the tex-k
mailing list