[]
The font object for build subsets.
[CLSCompliant(false)]
public class FontSubSet
| Name | Description |
|---|---|
| FontSubSet() | |
| FontSubSet(FontKey) |
| Name | Description |
|---|---|
| Ascent | |
| AveCharWidth | |
| BaseFont2Name | Gets base font name that was read from font's data, this property should be used to create PDF fonts. |
| BottomBBox | |
| CanEmbed | Gets flag that this font can embed as font's data. |
| CanSubset | Gets flag that this font can use as subset of the font's data. |
| CapHeight | |
| ClusterMap | Gets cluster map for shaping/ |
| CodePointCount | Gets code points count for shaping/ |
| CodePoints | Gets code points for shaping/ |
| CoreFontBold | Gets Font.Bold that was read form font's data. |
| CoreFontItalic | Gets Font.Italic that was read form font's data. |
| Descent | |
| ExternalLeading | |
| FamilyClass | Gets family class. |
| FirstChar | |
| FontBold | Gets "original" Font.Bold that was specified when FontSubSetBase object was requested. |
| FontFamilyName | Gets font family name that was read from font's data, this property should be used to create GDI and GDI+ fonts. |
| FontFileName | Gets font name that was read from font's data, see also FontFamilyName. |
| FontItalic | Gets "original" Font.Italic that was specified when FontSubSetBase object was requested. |
| FontKey | Gets or sets font key (font identifier). |
| FontName | Gets "original" font name that was specified when FontSubSetBase object was requested. |
| FontStyle | Gets "original" font style that was specified when FontSubSetBase object was requested. |
| Height | |
| InternalLeading | |
| IsExtended | |
| IsFixedPitch | |
| IsFontSpecific | |
| IsInvalid | Gets or sets value indicating that this FontSubSet object invalid (error occurs during getting font's data) and can not be used. |
| IsSansSerif | |
| ItalicAngle | |
| LastChar | |
| LeftBBox | |
| LocaShortTable | |
| MustObfuscate | Gets flag that this font must obfuscate. |
| MustRestrict | Gets flag that this font can embed as font's data. |
| NumberOfMetrics | |
| Panose | |
| RightBBox | |
| TopBBox | |
| UnitsPerEm | Gets code points for shaping/ |
| XHeight |
| Name | Description |
|---|---|
| GetAlternativeFont(string, IEnumerable<FontSubSet>) | Search best alternative for text in font subset array. |
| GetBuiltInIndex(string, bool, bool, bool, bool, bool) | |
| GetCharForGlyph(int) | Gets the char for the glyph index. |
| GetCountMetrics(string) | Counts the number of chars in |
| GetDefaultBytes(string) | |
| GetDefaultString(byte[]) | |
| GetDiffPanoseIndex(FontSubSet) | Calculate diff panose index. |
| GetFontDifference(string, FontSubSet, out int, out int) | 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. |
| GetFontSubSet(FontKey) | Create FontSubSet object using font name and styles. |
| GetFontSubSet(Font) | Create FontSubSet object using font name and styles. |
| GetFontSubSet(string, bool, bool) | Create FontSubSet object using font name and styles. |
| GetFontTableStream(string) | Gets stream for the font table block by name. |
| GetGlyphWidth(int) | Gets width of the glyph index from font data. |
| GetMetrics(char, bool) | Gets the metrics for a character (code, glyph index, width). |
| GetMetrics(char, char) | Gets the metrics for a character (code, glyph index, width). |
| GetPanoseIndex(FontSubSet) | |
| GetTableCode(string) | |
| Init() | Initialization fields. |
| IsCharSupported(char) | Returns true if current font contains glyph for character with specified code. |
| IsSupportAllSymbols(string) | Returns true if current FontSubSetBase object can show all chars in specified string excluding control chars (chars for that char.IsControl() == true). |
| MeasureText(string, bool, out int, out int, int) | Measure text for this font subset. |
| MeasureText(string, bool, out int, out int, out int[], int) | Measure text for this font subset. |
| ReadCMap() | |
| RecalculateGlyphs(string) | |
| ResolveAmbiguousEastAsianWidths(CodePointFlags[], int) | Resolves characters with ambiguous East Asian width to either narrow or wide. |
| SetFontSubSet(FontKey, FontSubSet) | Sets already exist FontSubSet object to cache. |
| SetFontSubSet(FontSubSet) | Sets already exist FontSubSet object to cache. |
| Shaping(string, bool, bool, TextFormat) |