4

I just installed TeXLive 2019 on a Windows 10 system. The following file generates an error:

% !TeX program = xelatex
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{STIX2Math.otf}

\begin{document}
$\int x$ % works
\[ \int \] % xdvipdfmx:fatal: Charsets data not available No output PDF file written.
\end{document}

I tested it on a TL2018 (XeTeX 3.14159265-2.6-0.99999 (TeX Live 2018/W32TeX)) and it compiles without problem. Also lualatex from TL2019 successfully compiles it.

Is there a problem with my system, or should I report a bug?

  • No problem on macOS with MacTeX. – egreg May 5 at 23:21
  • 1
    If XeTeX isn’t finding the font on a new installation, but LuaTeX can,, you might re-run fc-cache -r.. – Davislor May 5 at 23:41
  • 1
    For what its worth I can confirm same problem New TexLive 2019 on Win 10 x64 fully uptodate packages (basic installation++ numerous others but admittedly not full) as above LuaLaTeX works XeLaTeX does not (fc-cache -r makes no difference nor does running update font mapping etc.) – user170109 May 6 at 2:18
  • 1
    I ran xelatex with -no-pdf followed by xdvipdfmx with -vv option. The last lines (in file with \int) are otf_cmap>> Creating ToUnicode CMap for "c:/texlive/2019/texmf-dist/fonts/opentype/public/stix2-otf/STIX2Math.otf"..., then xdvipdfmx:warning: Invalid CMap mapping entry. (ignored) and xdvipdfmx:fatal: Charsets data not available – banbh May 6 at 2:47
  • 3
    It seems to be a bug in the newest xdvipdfmx. I run your example without problem, then updated only dvipdfmx.win32 and now it fails for some math fonts. Restoring the backup resolved the problem. I will report this on the texlive list. – Ulrike Fischer May 6 at 7:45
3

It is a bug in the newest xdvipdfmx.

I run your example without problem, then updated only dvipdfmx.win32 and then it failed for some math fonts. Restoring the backup resolved the problem.

I reported this on the texlive list and got the answer that it will be fixed soon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.