Hi,
with LuaTeX words containing letters in different fonts can be properly
hyphenated. In the following LaTeX example this works well as long as
fontspec isn't loaded. With fontspec loaded the \itshape version is
still hyphenated, but the \textit version isn't. Is that expected
behaviour?
Best regards,
Stephan Hennig
\documentclass[draft]{article}
%\usepackage{fontspec}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[width=2cm]{geometry}
\begin{document}
An intere\textit{st}ing word.
An intere{\itshape st\/}ing word.
\end{document}