Hi there,

I have just accidentally discovered that LetterSpace behaves differently if the whole paragraph is set with this feature or not.

The minimal example:

\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont{Theano Didot}
\begin{document}
χαλεπὰ \addfontfeature{LetterSpace=12}τὰ καλά

χαλεπὰ τὰ καλά

χαλεπὰ \addfontfeature{LetterSpace=0}τὰ καλά

Beauty \addfontfeature{LetterSpace=12}is difficult

Beauty is difficult

Beauty \addfontfeature{LetterSpace=0}is difficult
\end{document}

If you copy the resulting text (from http://www.ousia.tk/wrong-letterspace.pdf), you will see that only the second line is properly typeset, or at least, there are no blank spaces between letters.

I guess this might be a probable cause for wrong hyphenation when using LetterSpace. (BTW, loading polyglossia makes no difference.)

Have I hit a bug in LetterSpace? Do you know any way to avoid this?

Thanks for your help,


Pablo


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

Reply via email to