提交 59e04e42 编写于 作者: B Behdad Esfahbod

[kern/kerx] Fix cursive joining

Tested with Waseem TTC:

$ hb-shape Waseem.ttc جحخج
[F1Jeem_R2=3@0,180+479|M1Khah_L2_R2=2@0,682+403|M1Hah_L2_R2=1@0,1184+403|I1Jeem_L2=0@0,1184+744]
上级 8d0f7971
...@@ -284,6 +284,8 @@ struct KerxSubTableFormat1 ...@@ -284,6 +284,8 @@ struct KerxSubTableFormat1
} }
depth = 0; depth = 0;
} }
else
buffer->pos[buffer->idx].y_offset += c->font->em_scale_y (crossOffset);
return true; return true;
} }
......
...@@ -334,6 +334,8 @@ struct KernSubTableFormat1 ...@@ -334,6 +334,8 @@ struct KernSubTableFormat1
} }
depth = 0; depth = 0;
} }
else
buffer->pos[buffer->idx].y_offset += c->font->em_scale_y (crossOffset);
return true; return true;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册