using local bounds for text