[kern] XXX Negate CrossKerning sign

Not sure why, but seems to better match GeezaPro Arabic w CoreText.

Quite possibly I'm doing something very wrong...
This commit is contained in:
Behdad Esfahbod 2018-11-06 17:16:04 -05:00
parent 01bf43ac01
commit e8c4772463
1 changed files with 2 additions and 1 deletions

View File

@ -282,7 +282,8 @@ struct KernSubTableFormat1
{
if (crossStream)
{
crossOffset += v;
/* XXX Why negative, not positive?!?! */
crossOffset -= v;
buffer->pos[idx].y_offset += c->font->em_scale_y (crossOffset);
}
else