Merges matching TrueType font subsets and serializes the merged subsets to byte arrays.
public System.bool CompactFonts(
System.Collections.Generic.List<Font> ,
out System.int[] ,
out System.byte[] ,
FontSubsetFlags
)
'Declaration
Public Function CompactFonts( _
ByVal As System.Collections.Generic.List(Of Font), _
ByRef () As System.Integer, _
ByRef () As System.Byte, _
ByVal As FontSubsetFlags _
) As System.Boolean
Parameters
- fonts
- The list of source font subsets.
- indices
- OUT: an array of indices mapping source font indices to merged font indices. 0 indicates non-merged fonts.
- mergedFonts
- OUT: an array containing binary data of merged fonts. mergedFonts[0] is always a null reference (Nothing in Visual Basic).
- subsetFlags
- Font serialization flags.
Return Value
true if some fonts were merged, false otherwise.