[tex-live] Ignored italic correction with lua(la)tex format
Taco Hoekwater
taco at elvenkind.com
Sat Oct 8 10:39:54 CEST 2011
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 */
}
Best wishes,
Taco
More information about the tex-live
mailing list