IMHO it is a problem of Apple Preview. Not all PDF viewers understand ActualText.
Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz 2017-09-07 11:19 GMT+02:00 Maïeul <mai...@maieul.net>: > 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 > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex >
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex