[XeTeX] misplaced diacritical marks

Ross Moore ross.moore at mq.edu.au
Tue Aug 31 03:24:36 CEST 2010

Hello Alexander,

On 31/08/2010, at 10:50 AM, Alexander Schultheiß wrote:

> Hey,
> I'm new to xetex/xelatex and I have problems with diacritical marks. I
> found another thread describing a similar problem but the original
> question sadly isn't addressed
> (http://tug.org/pipermail/xetex/2004-August/000668.html).
> Does xelatex honor anchors in GPOS tables of otf/ttf fonts? If I try
> to place, say, a macron above an 'a' as well as a dot below it one of
> the two diacritical marks is always misplaced; depending on the oder
> of xelatex commands:
> \d{\={a}} dot misplaced
> \={\d{a}} macron misplaced

Please show the complete preamble for the coding that you are using.
We need to see what packages you use, and how the font is loaded.

Also provide a screenshot of what you see.
For example, the attached image shows what various fonts
(including styles of Junicode) should produce.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2010-08-31 at 11.11.10 AM.png
Type: image/png
Size: 67428 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100831/a28556d0/attachment-0001.png>
-------------- next part --------------

> I tried it with my own font as well as with Junicode. The problem does
> not depend on the choice of font, it seems. Also, if I try to place an
> acute above a+macron the diacritics do not stack. Even worse, if
> a+macron is not pre-composed within the font, xelatex is unable to
> assemble it (Why?!).

That all depends upon what packages and options you are using,
as well as what is available within the font itself.

> So my suspicion is that xelatex doen't honor
> anchors within GPOS tables. Is this correct or do I miss something? If
> correct, is there a way to make xelatex recognize anchors?

It cannot be XeTeX's fault, as it just passes this kind of task
to the operating system. So the question is whether it is passing
the correct stream of unicode characters, and that is determined
by the macro coding within the packages that you may be using.

> Thanks

Maybe we can help; but you need to show more of your job.

Hope this helps,


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