[]
Creates a subset of the CFF font table containing the specified glyphs, then serializes the subset to a byte array.
public byte[] CffGlyphsToArray(Font font, HashSet<ushort> glyphIDs)
Public Function CffGlyphsToArray(font As Font, glyphIDs As HashSet(Of UShort)) As Byte()
Type | Name | Description |
---|---|---|
Font | font | The Font object with PostScript outlines stored in the CFF format. |
HashSet<ushort> | glyphIDs | Glyph indices to be added to the resulting table subset. |
Type | Description |
---|---|
byte[] | Binary data with the resulting CFF font table. |