Add messages for GPOS/GSUB phases

This commit is contained in:
Simon Cozens 2020-03-14 17:55:27 +00:00 committed by Khaled Hosny
parent 748e1cf898
commit b07714d6b5
1 changed files with 2 additions and 0 deletions

View File

@ -1981,12 +1981,14 @@ inline void hb_ot_map_t::apply (const Proxy &proxy,
void hb_ot_map_t::substitute (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const
{
GSUBProxy proxy (font->face);
if (!buffer->message (font, "start GSUB stage")) return;
apply (proxy, plan, font, buffer);
}
void hb_ot_map_t::position (const hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const
{
GPOSProxy proxy (font->face);
if (!buffer->message (font, "start GPOS stage")) return;
apply (proxy, plan, font, buffer);
}