[luatex] Italic correction for normal text with LuaLaTex
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Mon Mar 12 01:19:12 CET 2012
On Sun, Mar 11, 2012 at 09:47:06PM +0100, Reinhard Kotucha wrote:
> On 2012-03-11 at 20:54:32 +0100, Bernhard Tempel wrote:
>
> > Am 11.03.2012 18:48, schrieb Khaled Hosny:
> > > Try \setmainfont[RawFeature={+itlc}]{Latin Modern Roman}, it
> > > seems to make a noticeable improvement.
> >
> > Thanks a lot for this. It really makes an improvement. In some
> > cases the guessed glue is to big, but better results would be very
> > difficult to reach when using heuristics. To calculate the extreme
> > "\emph{f}!" combination works fine; with the less extreme
> > combination "\emph{f}:" the kerning could be more tight, but I can
> > see that the guessed value must be the the same as for "\emph{f}!".
>
> But if you try
>
> \parindent0pt
> \emph{f}! \par
> \emph{f}: \par
> \emph{f}; \par
> \emph{f}. \par
>
> you'll see that the period is treated differently. Is this a result
> of the heuristics or does it come from somewhere else?
>From LaTeX. It manages a list \nocorrlist with the entries `,'
and `.' as default. \emph suppresses the italic correction
before a character in \nocorrlist.
Yours sincerely
Heiko Oberdiek
More information about the luatex
mailing list