[XeTeX] Diacritics in color

Ross Moore ross.moore at mq.edu.au
Wed Nov 30 00:58:23 CET 2011

Hi Heiko,

On 30/11/2011, at 10:32 AM, Heiko Oberdiek wrote:

> or
>  ^^^^00c4\\
>  A^^^^0308\\
>  A\textcolor{red}{^^^^0308}
> As you can see, this problem is not related to color,
> both XeTeX and LuaTeX fail:

With this font (Latin Modern) yes. I noticed this too.

But try switching the font:


\setmainfont{Charis SIL}

\hbox{U^^^^0308} U\textcolor{red}{^^^^0308}\"U



Now it *does* depend upon having the color commands.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 118037 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20111130/aedcab1a/attachment-0001.jpeg>
-------------- next part --------------

>> Both the vertical and horizontal position are now wrong.
> The Unicode input neither seems to be normalized in XeTeX or LuaTeX
> nor the accent seems to know its base letter. Manual fixing
> of the accent position remains as (only?) option.
> Yours sincerely
>  Heiko Oberdiek



Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114

More information about the XeTeX mailing list