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

[graphite] Add note about graphite shaker brokenness

上级 42255814
...@@ -329,6 +329,14 @@ hb_graphite_shape (hb_font_t *font, ...@@ -329,6 +329,14 @@ hb_graphite_shape (hb_font_t *font,
curradvy += pPos->y_advance; curradvy += pPos->y_advance;
} }
pPos[-1].x_advance += gr_seg_advance_X(seg) - curradvx; pPos[-1].x_advance += gr_seg_advance_X(seg) - curradvx;
/* TODO(behdad):
* This shaper is badly broken with RTL text. It returns glyphs
* in the logical order!
*/
// if (HB_DIRECTION_IS_BACKWARD (buffer->props.direction))
// hb_buffer_reverse (buffer);
success = 1; success = 1;
dieout: dieout:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册