Add messages for GPOS/GSUB phases
This commit is contained in:
parent
748e1cf898
commit
b07714d6b5
|
@ -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
|
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);
|
GSUBProxy proxy (font->face);
|
||||||
|
if (!buffer->message (font, "start GSUB stage")) return;
|
||||||
apply (proxy, plan, font, buffer);
|
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
|
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);
|
GPOSProxy proxy (font->face);
|
||||||
|
if (!buffer->message (font, "start GPOS stage")) return;
|
||||||
apply (proxy, plan, font, buffer);
|
apply (proxy, plan, font, buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue