FontSubsetter holds a map between original glyph IDs and new glyph IDs in a subsetted font.
| 145 | |
| 146 | // FontSubsetter holds a map between original glyph IDs and new glyph IDs in a subsetted font. |
| 147 | type FontSubsetter struct { |
| 148 | IDs []uint16 // old glyphIDs for increasing new glyphIDs |
| 149 | IDMap map[uint16]uint16 // old to new glyphID |
| 150 | } |
| 151 | |
| 152 | // NewFontSubsetter returns a new font subsetter. |
| 153 | func NewFontSubsetter() *FontSubsetter { |
nothing calls this directly
no outgoing calls
no test coverage detected