[XeTeX] Palatino and mapping error?

Will Robertson wspr81 at gmail.com
Mon Jul 30 00:04:55 CEST 2007


On 30/07/2007, at 4:35 , Jonathan Kew wrote:

> This seems to work fine (though you won't have access to any AAT
> features). The problem is apparently caused by something in the AAT
> tables in that version of Palatino.

Indeed, this is the "diacritics" feature, which is of limited  
usefulness in XeTeX. You also get problems with strings like "o/" and  
"O/", which are turned into slashed characters. Very weird the first  
time you run into it!

Here's how to fix it:

\documentclass{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Diacritics=Decompose]{Palatino}
\begin{document}
im Klett--Cotta Verlag
\end{document}

Will


More information about the XeTeX mailing list