[XeTeX] Strange behaviour xelatex/fontspec/Windows

Philip TAYLOR (Webmaster, Ret'd) P.Taylor at Rhul.Ac.Uk
Sat Sep 24 21:45:13 CEST 2011


OK with TeX Live 2010.
Philip Taylor
--------
rhino64 at postmail.ch wrote:
> \documentclass[12pt,draft]{article}
> 
> \usepackage{iftex}
> \usepackage{fontspec}
>    \ifXeTeX
>       %Traitement des ligatures classiques de TeX
>       \defaultfontfeatures{Mapping=tex-text}
>    \else
>       %LuaTeX a une manière différente de traiter les
>       %ligatures classiques de TeX (i.e. --, --- etc).
>       \defaultfontfeatures{Ligatures=TeX}
>    \fi
>    \fontspec[%
>         Extension=.otf,
>         UprightFont = *,
>         BoldFont=*Bold,
>         ItalicFont=*Italic,
>         BoldItalicFont=*BoldItalic]{GFSDidot}
>    \setmainfont{GFS Didot}
> \begin{document}
> A Text in GFS Didot
> \end{document}


More information about the XeTeX mailing list