[NTG-pdftex] pdftex-1.20-rc4

Hans Hagen pragma@wxs.nl
Thu, 27 May 2004 23:10:06 +0200


At 10:16 27/05/2004, Nagy Bence wrote:
> > I uploaded pdftex-1.20a-rc4 to pdftex.sarovar.org/src. This version
> > fixes the problem with finding fonts in included pdf, as discussed
> > before. I also did some (heavy) cleaning up in the code handling
> > fonts, so expect the unexpected.
>
>I wrote a small macro to handling the maplines from my tex file, I want
>to get the mapline in the form "fontname <fontname.pfb". But it is not
>working.
>
>\let\normalfont\font
>\def\font#1=#2 {%
>   \message{Adding mapline: +#2 <#2.pfb}%
>   \pdfmapline{+#2 <#2.pfb}\normalfont#1=#2 }

it seems that the map line parser looks over the } and wants a \relax; a bug?

% interface=en

\starttext

\ifx\normalfont\undefined \let\normalfont\font \fi

\font\xxxx=cmr10 at 100pt

\def\font#1=#2 %
   {\message{Adding mapline: +#2 <#2.pfb}%
    \pdfmapline{+#2 <#2.pfb}\relax
    \normalfont#1=#2 }

\font\test=cmr10 at 100pt

\test oeps

\stoptext