[tex-live] Ignored italic correction with lua(la)tex format

Khaled Hosny khaledhosny at eglug.org
Sat Oct 8 15:30:04 CEST 2011

On Sat, Oct 08, 2011 at 10:39:54AM +0200, Taco Hoekwater wrote:
> On 10/08/2011 09:18 AM, Philipp Stephani wrote:
> >
> >>Cambria has minimal italic correction so the
> >>difference is not so visible and its sub/superscripts are handled with
> >>math kerning so the difference is even more invisible. XITS renders fine
> >>in Word.
> >
> >For Cambria, the test looks better without italic correction. The
> >OpenType math document allows math italic correction to be applied
> >after a run of italic characters, but does not specify how to tell
> >italic and upright characters apart.
> I believe the fix here should be for luatex not to
> apply italic corrections in math mode at all, so:
>    if (is_new_mathfont(cur_f)) {
>        *delta = 0;     /* no italic correction  */
>    }

Not every font can do with no italic correction at all, Cambria can go
away with that but more slanted designs can't.


 Khaled Hosny

More information about the tex-live mailing list