Smaller issues from review
This commit is contained in:
parent
8b3b835a0a
commit
f19018da41
|
@ -1006,8 +1006,8 @@ initial_reordering_indic (const hb_ot_shape_plan_t *plan,
|
|||
hb_font_t *font,
|
||||
hb_buffer_t *buffer)
|
||||
{
|
||||
if (!buffer->message (font, "start reordering indic initial"))
|
||||
return;
|
||||
if (!buffer->message (font, "start reordering indic initial"))
|
||||
return;
|
||||
update_consonant_positions_indic (plan, font, buffer);
|
||||
insert_dotted_circles_indic (plan, font, buffer);
|
||||
|
||||
|
@ -1488,10 +1488,10 @@ final_reordering_indic (const hb_ot_shape_plan_t *plan,
|
|||
unsigned int count = buffer->len;
|
||||
if (unlikely (!count)) return;
|
||||
|
||||
if (buffer->message (font, "start reordering indic final")) {
|
||||
foreach_syllable (buffer, start, end)
|
||||
final_reordering_syllable_indic (plan, buffer, start, end);
|
||||
buffer->message (font, "end reordering indic final");
|
||||
if (buffer->message (font, "start reordering indic final")) {
|
||||
foreach_syllable (buffer, start, end)
|
||||
final_reordering_syllable_indic (plan, buffer, start, end);
|
||||
buffer->message (font, "end reordering indic final");
|
||||
}
|
||||
|
||||
HB_BUFFER_DEALLOCATE_VAR (buffer, indic_category);
|
||||
|
|
|
@ -332,7 +332,7 @@ reorder_myanmar (const hb_ot_shape_plan_t *plan,
|
|||
|
||||
foreach_syllable (buffer, start, end)
|
||||
reorder_syllable_myanmar (plan, font->face, buffer, start, end);
|
||||
buffer->message (font, "end reordering myanmar");
|
||||
(void)buffer->message (font, "end reordering myanmar");
|
||||
}
|
||||
|
||||
HB_BUFFER_DEALLOCATE_VAR (buffer, myanmar_category);
|
||||
|
|
|
@ -851,7 +851,7 @@ hb_ot_substitute_default (const hb_ot_shape_context_t *c)
|
|||
|
||||
HB_BUFFER_ALLOCATE_VAR (buffer, glyph_index);
|
||||
|
||||
if (buffer->message(c->font, "begin normalize")) {
|
||||
if (buffer->message(c->font, "start normalize")) {
|
||||
_hb_ot_shape_normalize (c->plan, buffer, c->font);
|
||||
buffer->message(c->font, "end normalize");
|
||||
}
|
||||
|
@ -900,7 +900,7 @@ hb_ot_substitute_post (const hb_ot_shape_context_t *c)
|
|||
#endif
|
||||
|
||||
if (c->plan->shaper->postprocess_glyphs &&
|
||||
c->buffer->message(c->font, "begin postprocess")) {
|
||||
c->buffer->message(c->font, "start postprocess")) {
|
||||
c->plan->shaper->postprocess_glyphs (c->plan, c->buffer, c->font);
|
||||
(void)c->buffer->message(c->font, "end postprocess");
|
||||
}
|
||||
|
@ -1127,7 +1127,7 @@ 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, "begin preprocess")) {
|
||||
c->buffer->message(c->font, "start preprocess")) {
|
||||
c->plan->shaper->preprocess_text (c->plan, c->buffer, c->font);
|
||||
(void)c->buffer->message(c->font, "end preprocess");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue