Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontWriter Class / CffGlyphsToArray Method
The Font object with PostScript outlines stored in the CFF format.
Glyph indices to be added to the resulting table subset.

In This Topic
    CffGlyphsToArray Method
    In This Topic
    Creates a subset of the CFF font table containing the specified glyphs, then serializes the subset to a byte array.
    Syntax
    'Declaration
     
    Public Function CffGlyphsToArray( _
       ByVal font As Font, _
       ByVal glyphIDs As System.Collections.Generic.HashSet(Of UShort) _
    ) As System.Byte()
    public System.byte[] CffGlyphsToArray( 
       Font font,
       System.Collections.Generic.HashSet<ushort> glyphIDs
    )

    Parameters

    font
    The Font object with PostScript outlines stored in the CFF format.
    glyphIDs
    Glyph indices to be added to the resulting table subset.

    Return Value

    Binary data with the resulting CFF font table.
    See Also