[]
Calculates "panse index" (panoseIndex) and count of chars that can be displayed by fss. panoseIndex represents difference between current FontSubSetBase object and fss object. Minimal number defines minimal difference, i.e. 0 means that current FontSubSetBase object and fss very similar. -1 means that fss can not be used as alternative for current object to display s.
public void GetFontDifference(string text, FontSubSet fss, out int panoseIndex, out int supportedGlyphCount)
Type | Name | Description |
---|---|---|
string | text | |
FontSubSet | fss | |
int | panoseIndex | |
int | supportedGlyphCount |