[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...
pull/1362/head
Behdad Esfahbod 6 years ago
parent 01bf43ac01
commit e8c4772463
  1. 3
      src/hb-ot-kern-table.hh

@ -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

Loading…
Cancel
Save