Alexander,

Are you including the xunicode package, which translates the traditional TeX keystrokes into their Unicode equivalents? The following minimal example works for me (Windows, MiKTeX 2.7) with marks correctly placed. I happen to have the Unicode values for the diacritics memorized, so I just typed them in, but you could equally well paste the actual characters from BabelMap or Character Viewer or whatever utility you have.

David

% !TEX TS-program = xelatex
% !TEX encoding = UTF-8

\documentclass[11pt]{article}

\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{xunicode}
\usepackage{xltxtra}

\setmainfont{Junicode}

\begin{document}

\LARGE
la\char"0304 \char"0323 m
hy\char"0304\char"0301 s

\end{document}


----- Original Message ----- From: "Alexander Schultheiß" <aschu...@googlemail.com>
To: <xetex@tug.org>
Sent: Monday, August 30, 2010 8:50 PM
Subject: [XeTeX] misplaced diacritical marks


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

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?!). 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?

Thanks


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to