From bdda2ff6092a3ddce2fe236dfe8cf3176330589b Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Mon, 30 Mar 2020 16:40:29 +0100 Subject: [PATCH] More strictly follow noun/verb/identifier format for GPOS/GSUB lookups Less generic than the previous commit, but more descriptive and more consistent. --- src/hb-ot-layout.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 639d94513..971622df6 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -1954,7 +1954,7 @@ inline void hb_ot_map_t::apply (const Proxy &proxy, for (; i < stage->last_lookup; i++) { unsigned int lookup_index = lookups[table_index][i].index; - if (!buffer->message (font, "start lookup %d:%d", table_index, lookup_index)) continue; + if (!buffer->message (font, "start table %s lookup %d", (table_index==0 ? "GSUB" : "GPOS"), lookup_index)) continue; c.set_lookup_index (lookup_index); c.set_lookup_mask (lookups[table_index][i].mask); 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 (&c, proxy.table.get_lookup (lookup_index), proxy.accels[lookup_index]); - (void) buffer->message (font, "end lookup %d:%d", table_index, lookup_index); + (void) buffer->message (font, "end table %s lookup %d", (table_index==0 ? "GSUB" : "GPOS"), lookup_index); } if (stage->pause_func)