Contents

targetTextScaling

The text scaling mode to use after reading the text from disk.

Declaration

static let targetTextScaling: NSAttributedString.DocumentReadingOptionKey

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 option to specify the text-scaling mode you want to use for the document you read.

See Also

Getting the font-scaling options