[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.FontWriter.CffGlyphsToStream

CffGlyphsToStream Method

CffGlyphsToStream(Stream, Font, HashSet<ushort>)

Writes a subset of the CFF font table containing the specified glyphs to a stream.

Declaration
public int CffGlyphsToStream(Stream stream, Font font, HashSet<ushort> glyphIDs)
Parameters
Type Name Description
Stream stream

The destination Stream object.

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
int

The number of bytes saved to the stream.