-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Some characters, such as upper case 'o' and zero, might have the exact same glyph for some fonts. The class FontGlyph only associates one String to a glyph, but it should be able to associate a collection of possible generating Strings. There should be some warning message to the user when some of the recognized characters are ambiguous.
There is a similar issue with ContextualFontGlyph, which is a subclass of FontGlyph. In that case there could be many combinations of a center glyph with pixel leakers from the left and right which could generate the same glyph. It is also possible that such generated glyphs are identical to a basic FontGlyph.