[core] Replace GlyphRangeSet in onGlyphsAvailable with optionals in the map
GlyphRangeSet isn't keyed by FontStack, so using it to indicate that a particular range was loaded could have produced false positives.
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
void setPlacementConfig(const PlacementConfig&) override;
|
||||
void redoLayout() override;
|
||||
|
||||
void onGlyphsAvailable(GlyphPositionMap, GlyphRangeSet) override;
|
||||
void onGlyphsAvailable(GlyphPositionMap) override;
|
||||
void onIconsAvailable(SpriteAtlas*, IconMap) override;
|
||||
|
||||
void getGlyphs(GlyphDependencies);
|
||||
|
||||
Reference in New Issue
Block a user