[lltx] Italic correction

Dohyun Kim nomosnomos at gmail.com
Fri Apr 1 08:59:03 CEST 2011


Hi,

2011/3/31 Ulrike Fischer <news3 at nililand.de>:
> Hallo,
>
>
> xetex and luatex have problems with the italic correction when they
> use open type fonts. xetex seems to calculate at least in some
> places an italic correction (but fails in the math too), in luatex
> there is not italic correction at all.
>
> I found some old discussions in the xetex list but nothing really
> decisive about if and how the problem should/will be solved. Does
> someone here knows more about it?
>
>
> \documentclass[12pt]{article}
>
> \usepackage{fontspec}
> \setmainfont{Times New Roman}
> \makeatletter
> \DeclareSymbolFont{letters}{\zf at enc}\rmdefault\mddefault\itdefault
> %\DeclareSymbolFont{letters}{T1}{ptm}\mddefault\itdefault
> \begin{document}
>
> {\itshape f}( {\itshape f\/}(  \emph{f}(  \textit{f}( \textit{f\/}(
>
> $f(a)$
> \end{document}
>

Under current lualatex, we cat get some effect close to italic
correction with "+itlc" option:

    \setmainfont[ItalicFeatures={RawFeature=+itlc}]{Times New Roman}

Regards,

-- 
Dohyun Kim
College of Law, Dongguk University
Seoul, Republic of Korea



More information about the lualatex-dev mailing list