[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.FontWriter.CffCharsToStream

CffCharsToStream Method

CffCharsToStream(Stream, Font, Utf32CodeSet)

Writes a subset of the CFF font table containing the specified UTF-32 characters to a stream.

Declaration
public int CffCharsToStream(Stream stream, Font font, Utf32CodeSet utf32CodeSet)
Parameters
Type Name Description
Stream stream

The destination Stream object.

Font font

The Font object with PostScript outlines stored in the CFF format.

Utf32CodeSet utf32CodeSet

A set of UTF-32 characters to be supported in the resulting table subset.

Returns
Type Description
int

The number of bytes saved to the stream.

CffCharsToStream(Stream, Font, HashSet<int>)

Writes a subset of the CFF font table containing the specified UTF-32 characters to a stream.

Declaration
public int CffCharsToStream(Stream stream, Font font, HashSet<int> utf32Chars)
Parameters
Type Name Description
Stream stream

The destination Stream object.

Font font

The Font object with PostScript outlines stored in the CFF format.

HashSet<int> utf32Chars

UTF-32 characters to be supported in the resulting table subset.

Returns
Type Description
int

The number of bytes saved to the stream.