[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:
John Firebaugh
2017-04-06 09:20:07 -07:00
parent 09a2271576
commit a50d7a331b
10 changed files with 56 additions and 93 deletions

View File

@@ -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);