[NTG-pdftex] \pdffontobjnum assertion failed
Hans Hagen
pragma at wxs.nl
Wed Jan 24 14:43:22 CET 2018
On 1/24/2018 2:27 PM, Akira Kakuto wrote:
> Hi Hans,
>
> Now I can reproduce your result.
>
> If I delete the line
> ec-lmtt12 LMMono12-Regular "enclmec ReEncodeFont" <lm-ec.enc <lmtt12.pfb
> in pdftex.map,
>
> \starttext
>
> \tt d
>
> \stoptext
>
> is ok. However in the case of
>
> \starttext
>
> \tt d \edef\tenitnumber{\pdffontobjnum\font}
>
> \stoptext
>
> mktexpk is called. In my case mktexpk succeeds. Probably you don't
> have mktexpk.
indeed
> It is strange that the line
> ec-lmtt12 LMMono12-Regular "enclmec ReEncodeFont" <lm-ec.enc <lmtt12.pfb
> in lm-ec.map read in this case is not used correctly if
> the line \edef\tenitnumber{\pdffontobjnum\font} exists.
> Maybe side effects of the recent type3 patch, as you said,
> but I don't know.
yes, or this (dubious) check encoding for duplicates patch ... anyway,
\pdffontobjnum only has to reserve an object (number) but it looks like
it does some inclusion
Hans
> The following are the relevant output on the console:
>
> ... ...
> (c:/usr/local/share/texmf-dist/tex/context/base/mkii/sort-lan.mkii) [1.1]
> systems : end file p at line 5
> (c:/usr/local/share/texmf-dist/tex/context/base/mkii/cont-err.mkii
> systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
> ) ){c:/usr/local/share/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc}
> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600
> ec-lmtt12
>
> The command name is c:\usr\local\bin\mktexpk
>
> kpathsea: Running mktexmf ec-lmtt12.mf
>
> The command name is c:\usr\local\bin\mktexmf
> name = ec-lmtt12, rootname = ec-lmtt, pointsize = 12
> mktexmf: empty or non-existent rootfile!
> Cannot find ec-lmtt12.mf .
> I try ps2pk --> gsftopk --> ttf2pk --> hbf2gf.
> ps2pk.exe -elm-ec.enc -X600 -Y600 -R600 -S0 -E1 -P12.0 lmtt12.pfb
> ec-lmtt12.600pk
> psfile = c:/usr/local/share/texmf-dist/fonts/type1/public/lm/lmtt12.pfb
> afmfile = c:/usr/local/share/texmf-dist/fonts/afm/public/lm/lmtt12.afm
> encfile = c:/usr/local/share/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc
> basename of lmtt12.pfb = lmtt12.pfb
> basename of
> c:/usr/local/share/texmf-dist/fonts/type1/public/lm/lmtt12.pfb = lmtt12.pfb
> <c:/usr/local/s
> hare/texmf-dist/fonts/pk/modeless/public/lm/ec-lmtt12.600pk><c:/usr/local/share
>
> /texmf-dist/fonts/type1/public/lm/lmr12.pfb>
>
> pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted yet!
> Output written on p.pdf (1 page, 15797 bytes).
> Transcript written on p.log.
>
> Thanks,
> Akira
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-pdftex
mailing list