tweak to glyph padding calculation