提交 e8c47724 编写于 作者: B Behdad Esfahbod

[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...
上级 01bf43ac
...@@ -282,7 +282,8 @@ struct KernSubTableFormat1 ...@@ -282,7 +282,8 @@ struct KernSubTableFormat1
{ {
if (crossStream) if (crossStream)
{ {
crossOffset += v; /* XXX Why negative, not positive?!?! */
crossOffset -= v;
buffer->pos[idx].y_offset += c->font->em_scale_y (crossOffset); buffer->pos[idx].y_offset += c->font->em_scale_y (crossOffset);
} }
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册