Slight tweaks to text_extents