提交 667218a5 编写于 作者: B Behdad Esfahbod

Minor

上级 30dd6225
...@@ -263,15 +263,13 @@ position_around_base (const hb_ot_shape_plan_t *plan, ...@@ -263,15 +263,13 @@ position_around_base (const hb_ot_shape_plan_t *plan,
if (this_combining_class != last_combining_class) if (this_combining_class != last_combining_class)
cluster_extents = base_extents; cluster_extents = base_extents;
position_mark (plan, font, buffer, base_extents, i, this_combining_class); position_mark (plan, font, buffer, cluster_extents, i, this_combining_class);
buffer->pos[i].x_advance = 0; buffer->pos[i].x_advance = 0;
buffer->pos[i].y_advance = 0; buffer->pos[i].y_advance = 0;
buffer->pos[i].x_offset += x_offset; buffer->pos[i].x_offset += x_offset;
buffer->pos[i].y_offset += y_offset; buffer->pos[i].y_offset += y_offset;
/* combine cluster extents. */
last_combining_class = this_combining_class; last_combining_class = this_combining_class;
} else { } else {
if (HB_DIRECTION_IS_FORWARD (buffer->props.direction)) { if (HB_DIRECTION_IS_FORWARD (buffer->props.direction)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册