summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hb-ot-kern-table.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hb-ot-kern-table.hh b/src/hb-ot-kern-table.hh
index 30f7091b..c7282a3a 100644
--- a/src/hb-ot-kern-table.hh
+++ b/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