Contents

isFixedPitch

A Boolean value indicating whether all glyphs in the font have the same advancement.

Declaration

var isFixedPitch: Bool { get }

Discussion

The value of this property is true when all glyphs have the same advancement or false when they do not. Some Japanese fonts encoded with the scheme “EUC12-NJE-CFEncoding” return that they have the same advancement, but actually encode glyphs with one of two advancements, for historical compatibility. You may need to handle such fonts specially for some applications.

See Also

Related Documentation

Getting Font Metrics and Information