Home > AI > IOS > SwiftUI >

difference between kerning and tracking

VStack {
            Text("ffi")
                .font(.custom("AmericanTypewriter", size: 72))
                .kerning(50)
            Text("ffi")
                .font(.custom("AmericanTypewriter", size: 72))
                .tracking(50)
        }

 both add spacing between letters, but tracking will pull apart ligatures whereas kerning will not, and kerning will leave some trailing whitespace whereas tracking will not.

Leave a Reply