Properly handle text attributes with font-size small caps.