mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
Instrument entering GSUB/GPOS tables
This commit is contained in:
1 parent
1b64b73080
commit
2cea796b75
1 file changed
+4
@@ -1981,13 +1981,17 @@ 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 table GSUB")) return;
|
||||
apply (proxy, plan, font, buffer);
|
||||
(void)buffer->message (font, "end table GSUB");
|
||||
}
|
||||
|
||||
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 table GPOS")) return;
|
||||
apply (proxy, plan, font, buffer);
|
||||
(void)buffer->message (font, "end table GPOS");
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user