subset

fun subset(cff: CffFont, usedGids: Set<Int>, unitsPerEm: Int = 1000): CffSubsetter.Subset

Subset cff to usedGids plus .notdef. unitsPerEm is the number of font units in an em, such as the head value of an OpenType font. A bare CFF program has 1000 by default (Adobe Technical Note 5176, Table 9), so the subset records any other value in its FontMatrix.