added padding option to has glyph