Getting valid coordinates in Glyph parsing.