[]
Merges matching TrueType font subsets and serializes the merged subsets to byte arrays.
public bool CompactFonts(List<Font> fonts, out int[] indices, out byte[][] mergedFonts, FontSubsetFlags subsetFlags)
Public Function CompactFonts(fonts As List(Of Font), ByRef indices As Integer(), ByRef mergedFonts As Byte()(), subsetFlags As FontSubsetFlags) As Boolean
Type | Name | Description |
---|---|---|
List<Font> | fonts | The list of source font subsets. |
int[] | indices | OUT: an array of indices mapping source font indices to merged font indices. 0 indicates non-merged fonts. |
byte[][] | mergedFonts | OUT: an array containing binary data of merged fonts. mergedFonts[0] is always null. |
FontSubsetFlags | subsetFlags | Font serialization flags. |