[XeTeX] \XeTeXgenerateactualtext and Apple Preview

Maïeul maieul at maieul.net
Thu Sep 7 11:19:58 CEST 2017


Hi,

consider the following MWE (XeLaTeX)

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Numbers=OldStyle]{Libertinus Serif}
\XeTeXgenerateactualtext 1

\begin{document}
\Huge
\textbf{\emph{0123456789}}

\end{document}

The font libertinus serif can be found here
https://ctan.org/pkg/libertinus

With Adobe READER, a pastebin of the PDF output is ok (we get numbers.) 
With Apple Preview, we does not get the good characters.

Is it a problem of Apple Preview or a XeTeX bug?

Note that with LuaLaTeX

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Numbers=OldStyle]{Libertinus Serif}


\begin{document}
\Huge
\textbf{\emph{0123456789}}

\end{document}

We get a pastebinable PDF with Appel Preview.

Best regards

Maïeul



More information about the XeTeX mailing list