简体   繁体   中英

Is there a way to change letter spacing (tracking) in iOS

There are two different types of letter spacing: Kerning and Tracking. Kerning can be changed using NSAttributedStringKey.kern

Can tracking also be changed?

.expansion :

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM