Trace reorder, not normalize
This commit is contained in:
parent
2e0193d741
commit
fd8f4ffcc6
|
@ -373,7 +373,7 @@ _hb_ot_shape_normalize (const hb_ot_shape_plan_t *plan,
|
||||||
|
|
||||||
/* Second round, reorder (inplace) */
|
/* Second round, reorder (inplace) */
|
||||||
|
|
||||||
if (!all_simple)
|
if (!all_simple && buffer->message(font, "start reorder"))
|
||||||
{
|
{
|
||||||
count = buffer->len;
|
count = buffer->len;
|
||||||
for (unsigned int i = 0; i < count; i++)
|
for (unsigned int i = 0; i < count; i++)
|
||||||
|
@ -399,6 +399,7 @@ _hb_ot_shape_normalize (const hb_ot_shape_plan_t *plan,
|
||||||
|
|
||||||
i = end;
|
i = end;
|
||||||
}
|
}
|
||||||
|
(void) buffer->message(font, "end reorder");
|
||||||
}
|
}
|
||||||
if (buffer->scratch_flags & HB_BUFFER_SCRATCH_FLAG_HAS_CGJ)
|
if (buffer->scratch_flags & HB_BUFFER_SCRATCH_FLAG_HAS_CGJ)
|
||||||
{
|
{
|
||||||
|
|
|
@ -851,10 +851,7 @@ hb_ot_substitute_default (const hb_ot_shape_context_t *c)
|
||||||
|
|
||||||
HB_BUFFER_ALLOCATE_VAR (buffer, glyph_index);
|
HB_BUFFER_ALLOCATE_VAR (buffer, glyph_index);
|
||||||
|
|
||||||
if (buffer->message(c->font, "start normalize")) {
|
|
||||||
_hb_ot_shape_normalize (c->plan, buffer, c->font);
|
_hb_ot_shape_normalize (c->plan, buffer, c->font);
|
||||||
buffer->message(c->font, "end normalize");
|
|
||||||
}
|
|
||||||
|
|
||||||
hb_ot_shape_setup_masks (c);
|
hb_ot_shape_setup_masks (c);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue