Reformat messages again
Messages can be: start/end table XXXX start/end lookup NNNN start/end subtable NNNN (for kerx/kern) start/end chainsubtable NNNN (for morx)
This commit is contained in:
parent
bdda2ff609
commit
fe926970bc
|
@ -891,7 +891,7 @@ struct KerxTable
|
||||||
reverse = bool (st->u.header.coverage & st->u.header.Backwards) !=
|
reverse = bool (st->u.header.coverage & st->u.header.Backwards) !=
|
||||||
HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction);
|
HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction);
|
||||||
|
|
||||||
if (!c->buffer->message (c->font, "start table %c%c%c%c subtable %d", HB_UNTAG (thiz()->tableTag), c->lookup_index))
|
if (!c->buffer->message (c->font, "start subtable %d", c->lookup_index))
|
||||||
goto skip;
|
goto skip;
|
||||||
|
|
||||||
if (!seenCrossStream &&
|
if (!seenCrossStream &&
|
||||||
|
@ -923,7 +923,7 @@ struct KerxTable
|
||||||
if (reverse)
|
if (reverse)
|
||||||
c->buffer->reverse ();
|
c->buffer->reverse ();
|
||||||
|
|
||||||
(void) c->buffer->message (c->font, "end table %c%c%c%c subtable %d", HB_UNTAG (thiz()->tableTag), c->lookup_index);
|
(void) c->buffer->message (c->font, "end subtable %d", c->lookup_index);
|
||||||
|
|
||||||
skip:
|
skip:
|
||||||
st = &StructAfter<SubTable> (*st);
|
st = &StructAfter<SubTable> (*st);
|
||||||
|
|
|
@ -1015,7 +1015,7 @@ struct Chain
|
||||||
bool (subtable->get_coverage () & ChainSubtable<Types>::Backwards) !=
|
bool (subtable->get_coverage () & ChainSubtable<Types>::Backwards) !=
|
||||||
HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction);
|
HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction);
|
||||||
|
|
||||||
if (!c->buffer->message (c->font, "start table morx chainsubtable %d", c->lookup_index))
|
if (!c->buffer->message (c->font, "start chainsubtable %d", c->lookup_index))
|
||||||
goto skip;
|
goto skip;
|
||||||
|
|
||||||
if (reverse)
|
if (reverse)
|
||||||
|
@ -1026,7 +1026,7 @@ struct Chain
|
||||||
if (reverse)
|
if (reverse)
|
||||||
c->buffer->reverse ();
|
c->buffer->reverse ();
|
||||||
|
|
||||||
(void) c->buffer->message (c->font, "end table morx chainsubtable %d", c->lookup_index);
|
(void) c->buffer->message (c->font, "end chainsubtable %d", c->lookup_index);
|
||||||
|
|
||||||
if (unlikely (!c->buffer->successful)) return;
|
if (unlikely (!c->buffer->successful)) return;
|
||||||
|
|
||||||
|
|
|
@ -1954,7 +1954,7 @@ inline void hb_ot_map_t::apply (const Proxy &proxy,
|
||||||
for (; i < stage->last_lookup; i++)
|
for (; i < stage->last_lookup; i++)
|
||||||
{
|
{
|
||||||
unsigned int lookup_index = lookups[table_index][i].index;
|
unsigned int lookup_index = lookups[table_index][i].index;
|
||||||
if (!buffer->message (font, "start table %s lookup %d", (table_index==0 ? "GSUB" : "GPOS"), lookup_index)) continue;
|
if (!buffer->message (font, "start lookup %d", lookup_index)) continue;
|
||||||
c.set_lookup_index (lookup_index);
|
c.set_lookup_index (lookup_index);
|
||||||
c.set_lookup_mask (lookups[table_index][i].mask);
|
c.set_lookup_mask (lookups[table_index][i].mask);
|
||||||
c.set_auto_zwj (lookups[table_index][i].auto_zwj);
|
c.set_auto_zwj (lookups[table_index][i].auto_zwj);
|
||||||
|
@ -1967,7 +1967,7 @@ inline void hb_ot_map_t::apply (const Proxy &proxy,
|
||||||
apply_string<Proxy> (&c,
|
apply_string<Proxy> (&c,
|
||||||
proxy.table.get_lookup (lookup_index),
|
proxy.table.get_lookup (lookup_index),
|
||||||
proxy.accels[lookup_index]);
|
proxy.accels[lookup_index]);
|
||||||
(void) buffer->message (font, "end table %s lookup %d", (table_index==0 ? "GSUB" : "GPOS"), lookup_index);
|
(void) buffer->message (font, "end lookup %d", lookup_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stage->pause_func)
|
if (stage->pause_func)
|
||||||
|
|
Loading…
Reference in New Issue