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

[GPOS] Add harmless recursion in fix_mark_attachment()

Will do nothing.  Just useful for merging two functions.
上级 686567ba
...@@ -1579,6 +1579,8 @@ fix_mark_attachment (hb_glyph_position_t *pos, unsigned int i, hb_direction_t di ...@@ -1579,6 +1579,8 @@ fix_mark_attachment (hb_glyph_position_t *pos, unsigned int i, hb_direction_t di
unsigned int j = (int) i + chain; unsigned int j = (int) i + chain;
fix_mark_attachment (pos, j, direction);
pos[i].x_offset += pos[j].x_offset; pos[i].x_offset += pos[j].x_offset;
pos[i].y_offset += pos[j].y_offset; pos[i].y_offset += pos[j].y_offset;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册