[tex-live] TLpretest: XeTeX has a problem with system font NimbusRomNo9L-Regu

Jonathan Kew jfkthame at gmail.com
Tue May 5 13:40:38 CEST 2015


On 5/5/15 12:00, Petr Olsak wrote:
>
> Hello,
>
> I tried to do experiments with the example given at
>
> http://tex.stackexchange.com/questions/242218/
>
> because OP mentioned the XeTeX version is 3.14159265-2.6-0.99992, i.e.
> the binary form TL pretest. The behavior at my system is slight
> different than what reports OP. The PDF isn't generated because of
> xdvipdfmx fatal error. I created more simple MWE for such experiments:
>
>     \font\f="Nimbus Roman No9 L"
>     \nopagenumbers
>     \f ABC
>     \end
>
> Now, I tried to run XeTeX from TLpretest:
>
>    xetex test
>    This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded
>    format=xetex)
>     restricted \write18 enabled.
>    entering extended mode
>    (./test.tex [1]
>    xdvipdfmx:fatal: sfnt: table not found...
>
> If I try to do this step by step in order to get more information:
>
>    xetex --no-pdf test
>    This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded
>    format=xetex)
>     restricted \write18 enabled.
>    entering extended mode
>    (./test.tex [1] )
>    Output written on test.xdv (1 page, 348 bytes).
>    Transcript written on test.log.
>
>    xdvipdfmx -vv test.xdv
>
> <FONTMAP:/archiv/tl/tl2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map><FONTMAP:/archiv/tl/tl2015/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map><FONTMAP:/archiv/tl/tl2015/texmf-dist/fonts/map/dvipdfmx/ckx.map>test.xdv
>
>    -> test.pdf
>    DVI Comment:  XeTeX output 2015.05.05:1251
>
> <AGL:texglyphlist.txt><AGL:pdfglyphlist.txt><AGL:glyphlist.txt>[1</usr/share/fonts/default/ghostscript/n021003l.pfb at 9.96pt<NATIVE-FONTMAP:/usr/share/fonts/default/ghostscript/n021003l.pfb/0/H/65536/0/0>
>
>    fontmap: /usr/share/fonts/default/ghostscript/n021003l.pfb/0/H/65536/0/0
>    -> /usr/share/fonts/default/ghostscript/n021003l.pfb(Identity-H)
>
>    pdf_font>> Input encoding "Identity-H" requires at least 2 bytes.
>    pdf_font>> The -m <00> option will be assumed for
>    "/usr/share/fonts/default/ghostscript/n021003l.pfb".
>    (CID:NimbusRomNo9L-Regu)
>    pdf_font>> Type0 font
>    "/usr/share/fonts/default/ghostscript/n021003l.pfb"
>    cmap_id=<Identity-H,0> opened at
>
> font_id=</usr/share/fonts/default/ghostscript/n021003l.pfb/0/H/65536/0/0,0>.
>
>
>    xdvipdfmx:fatal: sfnt: table not found...
>
>    Output file removed.
>

It seems that xdvipdfmx is trying to treat n021003l.pfb as a TrueType or 
OpenType (sfnt-format) font, which is clearly incorrect; it's a legacy 
PS Type 1 file. Your test with the 2014 version indicates this was not 
happening at that time.

There have been quite a lot of updates to font handling in xdvipdfmx 
recently, judging from the SVN log; I hope one of the developers who has 
been working on this can take a look and figure out why this is going wrong.

One difference in your logs is that the <NATIVE-FONTMAP: ...> reported 
for the Nimbus font was marked with [square brackets] in the 2014 
version, but these are absent in 2015. But I haven't looked into the 
code to figure out the significance (if any) of this change.

JK



More information about the tex-live mailing list