fixed order of setting TextConfiguration attributes