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

Hans Hagen pragma at wxs.nl
Wed Dec 17 11:42:39 CET 2003


At 23:18 16/12/2003, Olaf Weber wrote:
>Hartmut Henkel writes:
>
> > 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?
>
>Probably not, '+' is not a shell metacharacter.
>
>When making this change I was worried that valid names would be
>excluded as well.  Unfortunately I was right.

why not play safe and use: cmr10p50 cmr10m50

i hate filenames with +'s (like those something.c++ files and paths -)

Hans  



More information about the tex-k mailing list