[luatex] Italic correction for normal text with LuaLaTex
Khaled Hosny
khaledhosny at eglug.org
Mon Mar 12 14:16:36 CET 2012
On Mon, Mar 12, 2012 at 01:54:59AM +0100, Reinhard Kotucha wrote:
> However, things are more difficult, of course, especially if you are
> going to emphasize a part of a composed word. You can't guess the
> amount of italic correction needed from the bounding box. Imagine the
> characters d and b, which have the same height. On the other hand it
> seems that Khaled's heuristics are sufficient here:
It is Hans' not mine. Also italic correction is a "fixed" glyph
property, it does not check the next glyph or anything ("itlc" feature
just loops over all glyphs in the font and guesses a value for each),
but I think Hans' "hybrid-italic' in ConTeXt might be (or can be made
to) look ahead and adapt the correction to the next glyph.
Regards,
Khaled
More information about the luatex
mailing list