take into account kerning and inter-character spacing in bounding box