Add GetCharacterBoundingRectangle API.