There are two different types of letter spacing: Kerning and Tracking. Kerning can be changed using NSAttributedStringKey.kern
Can tracking also be changed?
The value of this attribute is an
NSNumber
object containing a floating point value indicating the log of the expansion factor to be applied to glyphs. The default value is 0, indicating no expansion.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.