[lltx] Italic correction
Ulrike Fischer
news3 at nililand.de
Fri Apr 1 09:46:50 CEST 2011
Am Fri, 1 Apr 2011 15:59:03 +0900 schrieb Dohyun Kim:
>> 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}
Neat ;-). That solves the one half of the problem. It would be
perhaps a good idea if fontspec would activate it by default for
lualatex.
--
Ulrike Fischer
More information about the lualatex-dev
mailing list