[XeTeX] wrong alignment with optical bounds

Pablo Rodríguez oinos at web.de
Sat Oct 10 19:45:05 CEST 2009


Hi Jonathan and others,

I have just tried the following code:

\documentclass[12pt]{article}
\usepackage[a5paper]{geometry}
\usepackage{fontspec}
\setromanfont[RawFeature=-liga]{Grandjean Baskerville}
\begin{document}
\begin{verse}
Ἔνοιωσεν ὅτι\\
τοῦ ἦσαν οἱ στίχοι\\
ἄχαρη τύχη\\
καὶ ματαιότη.
\end{verse}

\fontspec[RawFeature=+opbd;-liga]{Grandjean Baskerville}
\begin{verse}
Ἔνοιωσεν ὅτι\\
τοῦ ἦσαν οἱ στίχοι\\
ἄχαρη τύχη\\
καὶ ματαιότη.
\end{verse}
\end{document}

And the result can be located at http://www.ousia.tk/a.pdf. XeTeX is
applying the optical bound to the first letter in text, but it also
creates a kind of positive kerning with the next letter.

I guess this might be a bug.

Just in case it helps,


Pablo



More information about the XeTeX mailing list