compare text formatting