[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.FontTables

FontTables Class

Represents a font instance with a set of OpenType tables, and provides methods allowing to retrieve information contained in those tables.

Inheritance
FontTables
Namespace: GrapeCity.Documents.Text
Assembly: DS.Documents.Imaging.dll
Syntax
public class FontTables
Public Class FontTables

Properties

Name Description
Font

Gets the Font associated with this FontTables instance.

Methods

Name Description
GetExtenderGlyphs(ScriptTag)

Gets the array of glyph indices, such as Arabic kashidas, that a client may insert to extend the length of the line for justification.

Depends on 'JSTF' table.

GetGlyphHeight(int)

Returns the advance height for the given glyph.

Depends on 'vmtx' table.

GetGlyphName(int)

Returns name of the glyph from "post" table.

Depends on 'post' table.

GetGlyphVertOriginY(int)

Gets the y coordinate of a glyph's vertical origin, in design units.

Depends on 'vmtx', 'glyf', 'VORG', 'cff', 'cff2' tables.

GetGlyphWidth(int)

Returns the advance width for the given glyph.

Depends on 'hmtx' table.

GetPaletteEntryLabels()

Returns the array of user interface strings associated with each palette entry.

Depends on 'CpalDraw', 'name' tables.

GetPalettes()

Returns the array of font palettes (from CPAL table).

Depends on 'CpalDraw', 'name'(optionally) tables.

GetUnicodeChars()

Returns a HashSet with all supported Unicode characters.

Depends on 'cmap' table.

GetUnicodeRanges()

Returns a string with the list of supported Unicode ranges.

Depends on 'OS/2' table.

IsLoaded(TableTag)

Returns a value indicating if the specified OpenType table is loaded.

LoadTables(params TableTag[])

Loads the missing OpenType tables specified with an array of tags.

MapChar(int)

Returns the glyph index for the specified Unicode character.

Depends on 'cmap' table.

TryGetGlyphIndex(string, out ushort)

Tries to return index of the glyph by its name from "post" table.

Depends on 'post' table.

TryMapChars(HashSet<int>, HashSet<int>)

Maps the specified set of Unicode characters to the font glyphs and fills the set of successfully mapped characters.

Depends on 'cmap' table.

UnloadTables(params TableTag[])

Unloads OpenType tables specified with an array of tags.