Add support for detecting glyph shapes