Contents

sourceTextScaling

The text-scaling mode you used when creating the text.

Declaration

static let sourceTextScaling: NSAttributedString.DocumentAttributeKey

Discussion

The value of this property is one of the options of the NSTextScalingType type. Some platforms scale fonts to improve their appearance. Include this attribute to specify the original text-scaling mode you used to create the text.

See Also

Getting the font-scaling options