[XeTeX] \XeTeXgenerateactualtext and Apple Preview

Maïeul Rouquette maieul at maieul.net
Thu Sep 7 15:30:07 CEST 2017


but what LuaLaTeX is able to produce output usable by Apple Preview?
> Le 7 sept. 2017 à 14:40, Zdenek Wagner <zdenek.wagner at gmail.com> a écrit :
> 
> 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 <maieul at 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
> 




More information about the XeTeX mailing list