[]
Used for serialization of Font subsets.
public class FontWriter
Public Class FontWriter
| Name | Description |
|---|---|
| FontWriter() | Initializes an instance of the FontWriter. |
| Name | Description |
|---|---|
| CffCharsToArray(Font, Utf32CodeSet) | Creates a subset of the CFF font table containing the specified UTF-32 characters, then serializes the subset to a byte array. |
| CffCharsToArray(Font, HashSet<int>) | Creates a subset of the CFF font table containing the specified UTF-32 characters, then serializes the subset to a byte array. |
| CffCharsToStream(Stream, Font, Utf32CodeSet) | Writes a subset of the CFF font table containing the specified UTF-32 characters to a stream. |
| CffCharsToStream(Stream, Font, HashSet<int>) | Writes a subset of the CFF font table containing the specified UTF-32 characters to a stream. |
| CffGlyphsAndCharsToArray(Font, HashSet<ushort>, Utf32CodeSet) | Creates a subset of the CFF font table containing both the specified glyphs and UTF-32 characters, then serializes the subset to a byte array. |
| CffGlyphsAndCharsToArray(Font, HashSet<ushort>, HashSet<int>) | Creates a subset of the CFF font table containing both the specified glyphs and UTF-32 characters, then serializes the subset to a byte array. |
| CffGlyphsAndCharsToStream(Stream, Font, HashSet<ushort>, Utf32CodeSet) | Writes a subset of the CFF font table containing both the specified glyphs and UTF-32 characters to a stream. |
| CffGlyphsAndCharsToStream(Stream, Font, HashSet<ushort>, HashSet<int>) | Writes a subset of the CFF font table containing both the specified glyphs and UTF-32 characters to a stream. |
| CffGlyphsToArray(Font, HashSet<ushort>) | Creates a subset of the CFF font table containing the specified glyphs, then serializes the subset to a byte array. |
| CffGlyphsToStream(Stream, Font, HashSet<ushort>) | Writes a subset of the CFF font table containing the specified glyphs to a stream. |
| CharsToArray(Font, Utf32CodeSet, FontSubsetFlags) | Creates a subset of the font containing the specified UTF-32 characters, then serializes the subset to a byte array. |
| CharsToArray(Font, HashSet<int>, FontSubsetFlags) | Creates a subset of the font containing the specified UTF-32 characters, then serializes the subset to a byte array. |
| CharsToStream(Stream, Font, Utf32CodeSet, FontSubsetFlags) | Writes a subset of the font containing the specified UTF-32 characters to a stream. |
| CharsToStream(Stream, Font, HashSet<int>, FontSubsetFlags) | Writes a subset of the font containing the specified UTF-32 characters to a stream. |
| CompactFonts(List<Font>, out int[], out byte[][], FontSubsetFlags) | Merges matching TrueType font subsets and serializes the merged subsets to byte arrays. |
| GlyphsAndCharsToArray(Font, HashSet<ushort>, Utf32CodeSet, FontSubsetFlags) | Creates a subset of the font containing both the specified glyphs and UTF-32 characters, then serializes the subset to a byte array. |
| GlyphsAndCharsToArray(Font, HashSet<ushort>, HashSet<int>, FontSubsetFlags) | Creates a subset of the font containing both the specified glyphs and UTF-32 characters, then serializes the subset to a byte array. |
| GlyphsAndCharsToStream(Stream, Font, HashSet<ushort>, Utf32CodeSet, FontSubsetFlags) | Writes a subset of the font containing both the specified glyphs and UTF-32 characters to a stream. |
| GlyphsAndCharsToStream(Stream, Font, HashSet<ushort>, HashSet<int>, FontSubsetFlags) | Writes a subset of the font containing both the specified glyphs and UTF-32 characters to a stream. |
| GlyphsToArray(Font, HashSet<ushort>, FontSubsetFlags) | Creates a subset of the font containing the specified glyphs, then serializes the subset to a byte array. |
| GlyphsToStream(Stream, Font, HashSet<ushort>, FontSubsetFlags) | Writes a subset of the font containing the specified glyphs to a stream. |
| WholeCffToArray(CffTable) | Writes the CFF table to a byte array. |
| WholeCffToArray(Font) | Writes the whole CFF font table (not subset) to a byte array. |
| WholeCffToStream(Stream, Font) | Writes the whole CFF font table (not subset) to a stream. |
| WholeFontToArray(Font) | Serializes the whole font (not subset) to a byte array. |
| WholeFontToStream(Stream, Font) | Writes the whole font (not subset) to a stream. |