When I render my documents using pdfLaTeX and
microtype they look fine, but when I switch to XeTeX the right edges of justified text look terrible: some lines overlfow, and hyphens look "indented". Is there a way to fix this?
It is my understanding that margin kerning does work but that font expansion doesn't.
This is one of the reasons why I'm currently using pdflatex and not XeLaTeX: OpenType support in XeTeX is very good because of the
You don't explain why you need XeTeX, so I'll explain some possible alternatives that work well with
I really like
The recently published
I really hope that some day XeTeX will be fully compatible with
I use LuaTeX for the most part, but fall back on XeTeX if a document requires bidi.
Use TLContrib (see latex-alive.tumblr.com/post/1303450459 for concise instructions) to get the latest version of microtype. It supports protrusion in XeTeX, though not the other microtypographic features. Protrusion is already enough to fix the worst eyesores.
And if you don’t work with right-to-left languages, I think LuaTeX will meet all your needs, including the microtypographic.
If you end up using LuaTeX, you could also remove microtype entirely (ref):