[XeTeX] \XeTeXgenerateactualtext and Apple Preview

Zdenek Wagner zdenek.wagner at gmail.com
Thu Sep 7 14:40:45 CEST 2017


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20170907/240910f3/attachment.html>


More information about the XeTeX mailing list