use of clear() instead of clearContours() to clear all glyph's data