[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.FontWriter.CffGlyphsToArray

CffGlyphsToArray Method

CffGlyphsToArray(Font, HashSet<ushort>)

Creates a subset of the CFF font table containing the specified glyphs, then serializes the subset to a byte array.

Declaration
public byte[] CffGlyphsToArray(Font font, HashSet<ushort> glyphIDs)
Public Function CffGlyphsToArray(font As Font, glyphIDs As HashSet(Of UShort)) As Byte()
Parameters
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.

Returns
Type Description
byte[]

Binary data with the resulting CFF font table.