[]
Represents a Compact Font Format (CFF) table.
public class CffTable
Public Class CffTable
| Name | Description |
|---|---|
| CIDGroupIndices | Maps GIDs to indices in the CIDGroups array. |
| CharSet | Gets the charset array (GID to SID mapping, or GID to CID for CID-key fonts). |
| CharSpaceToEmX | Gets the X factor to recalculate character space units to user space units (em). |
| CharSpaceToEmY | Gets the Y factor to recalculate character space units to user space units (em). |
| CharStrings | Gets the array of glyph charstrings. |
| DefaultWidthX | If a glyph width equals the DefaultWidthX value it can be omitted from the charstring. |
| Encoding | Gets the encoding array (for non-CID fonts). It maps 1-byte code to GID. |
| FontName | Gets the FontName or CIDFontName for CID-keyed fonts. |
| FormatMajorVersion | Gets the format major version (starting at 1). |
| FormatMinorVersion | Gets the format minor version (starting at 0). |
| GlobalSubrs | Gets the array of charstrings with global subrs. |
| GlyphCount | Gets the number of glyphs. |
| IsCIDFont | Gets a value indicating if this is a CID-keyed font. |
| ItalicAngle | Gets the italic angle in counter-clockwise degrees from the vertical. Zero for upright text, negative for text that leans to the right (forward). |
| LocalSubrs | Gets the array of charstrings with local subrs. |
| NominalWidthX | The glyph width is computed by adding the CharString width to NominalWidthX value. |
| UnderlinePosition | Gets the suggested distance of the top of the underline from the baseline (negative values indicate below baseline). |
| UnderlineThickness | Gets the suggested value for the underline thickness. |
| Name | Description |
|---|---|
| GetGid(byte) | Gets the glyph index for specified character code. |
| GetString(int) | Returns a string with the specified SID. Note! Method can return null if string with specified SID not found. |
| TryGetGID(string, out ushort) | Tries to get glyph index (GID) by glyph name. |
| TryGetGID(ushort, out ushort) | Tries to get glyph index (GID) by glyph name represented by SID. |
| TryGetSID(ushort, out ushort) | Tries to get glyph name represented by SID by glyph index. |