Keep phase names

This commit is contained in:
Simon Cozens 2020-09-18 16:25:43 +01:00
parent 428c111f13
commit 8e1bedc50b

View File

@ -900,9 +900,9 @@ hb_ot_substitute_post (const hb_ot_shape_context_t *c)
#endif
if (c->plan->shaper->postprocess_glyphs &&
c->buffer->message(c->font, "start postprocess")) {
c->buffer->message(c->font, "start postprocess-glyphs")) {
c->plan->shaper->postprocess_glyphs (c->plan, c->buffer, c->font);
(void)c->buffer->message(c->font, "end postprocess");
(void)c->buffer->message(c->font, "end postprocess-glyphs");
}
}
@ -1127,9 +1127,9 @@ hb_ot_shape_internal (hb_ot_shape_context_t *c)
hb_ensure_native_direction (c->buffer);
if (c->plan->shaper->preprocess_text &&
c->buffer->message(c->font, "start preprocess")) {
c->buffer->message(c->font, "start preprocess-text")) {
c->plan->shaper->preprocess_text (c->plan, c->buffer, c->font);
(void)c->buffer->message(c->font, "end preprocess");
(void)c->buffer->message(c->font, "end preprocess-text");
}
hb_ot_substitute_pre (c);