mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
[subset] Update gsub to use glyphset() method of subset plan.
This commit is contained in:
1 parent
853b1f1aa5
commit
4842294b86
1 file changed
+2
-2
@@ -105,7 +105,7 @@ struct SingleSubstFormat1
|
||||
bool subset (hb_subset_context_t *c) const
|
||||
{
|
||||
TRACE_SUBSET (this);
|
||||
const hb_set_t &glyphset = *c->plan->glyphset;
|
||||
const hb_set_t &glyphset = *c->plan->glyphset ();
|
||||
const hb_map_t &glyph_map = *c->plan->glyph_map;
|
||||
hb_vector_t<GlyphID> from;
|
||||
hb_vector_t<GlyphID> to;
|
||||
@@ -202,7 +202,7 @@ struct SingleSubstFormat2
|
||||
bool subset (hb_subset_context_t *c) const
|
||||
{
|
||||
TRACE_SUBSET (this);
|
||||
const hb_set_t &glyphset = *c->plan->glyphset;
|
||||
const hb_set_t &glyphset = *c->plan->glyphset ();
|
||||
const hb_map_t &glyph_map = *c->plan->glyph_map;
|
||||
hb_vector_t<GlyphID> from;
|
||||
hb_vector_t<GlyphID> to;
|
||||
|
||||
Reference in new issue
Block a user