NSKernAttributeName
The kerning of the text.
Declaration
extern NSAttributedStringKey const NSKernAttributeName;Discussion
The value of this attribute is an NSNumber object containing a floating-point value. This value specifies the number of points by which to adjust kern-pair characters. Kerning prevents unwanted space from occurring between specific characters and depends on the font. The value 0 means kerning is disabled. The default value for this attribute is 0.
See Also
Getting rendering attribute keys
NSBackgroundColorAttributeNameNSBaselineOffsetAttributeNameNSFontAttributeNameNSForegroundColorAttributeNameNSLigatureAttributeNameNSParagraphStyleAttributeNameNSStrikethroughColorAttributeNameNSStrikethroughStyleAttributeNameNSStrokeColorAttributeNameNSStrokeWidthAttributeNameNSTrackingAttributeNameNSUnderlineColorAttributeNameNSUnderlineStyleAttributeNameNSWritingDirectionAttributeName