# GrapeCity.Documents.Text.FontTables

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Text_FontTables" data-uid="GrapeCity.Documents.Text.FontTables" class="text-break">FontTables Class
</h1>
  <div class="markdown level0 summary"><p>Represents a font instance with a set of OpenType tables,
and provides methods allowing to retrieve information
contained in those tables.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">FontTables</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Text.html">GrapeCity.Documents.Text</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Text_FontTables_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FontTables</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FontTables</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_Font" data-uid="GrapeCity.Documents.Text.FontTables.Font">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.Font.html#GrapeCity_Documents_Text_FontTables_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a> associated with this <a class="xref" href="GrapeCity.Documents.Text.FontTables.html">FontTables</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetExtenderGlyphs_GrapeCity_Documents_Text_ScriptTag_" data-uid="GrapeCity.Documents.Text.FontTables.GetExtenderGlyphs(GrapeCity.Documents.Text.ScriptTag)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetExtenderGlyphs.html#GrapeCity_Documents_Text_FontTables_GetExtenderGlyphs_GrapeCity_Documents_Text_ScriptTag_">GetExtenderGlyphs(ScriptTag)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of glyph indices, such as Arabic kashidas, that a client may insert to extend the length of the line for justification.</p>
<p>
Depends on 'JSTF' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetGlyphHeight_System_Int32_" data-uid="GrapeCity.Documents.Text.FontTables.GetGlyphHeight(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetGlyphHeight.html#GrapeCity_Documents_Text_FontTables_GetGlyphHeight_System_Int32_">GetGlyphHeight(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the advance height for the given glyph.</p>
<p>
Depends on 'vmtx' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetGlyphName_System_Int32_" data-uid="GrapeCity.Documents.Text.FontTables.GetGlyphName(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetGlyphName.html#GrapeCity_Documents_Text_FontTables_GetGlyphName_System_Int32_">GetGlyphName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns name of the glyph from &quot;post&quot; table.</p>
<p>
Depends on 'post' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetGlyphVertOriginY_System_Int32_" data-uid="GrapeCity.Documents.Text.FontTables.GetGlyphVertOriginY(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetGlyphVertOriginY.html#GrapeCity_Documents_Text_FontTables_GetGlyphVertOriginY_System_Int32_">GetGlyphVertOriginY(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the y coordinate of a glyph's vertical origin, in design units.</p>
<p>
Depends on 'vmtx', 'glyf', 'VORG', 'cff', 'cff2' tables.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetGlyphWidth_System_Int32_" data-uid="GrapeCity.Documents.Text.FontTables.GetGlyphWidth(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetGlyphWidth.html#GrapeCity_Documents_Text_FontTables_GetGlyphWidth_System_Int32_">GetGlyphWidth(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the advance width for the given glyph.</p>
<p>
Depends on 'hmtx' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetPaletteEntryLabels" data-uid="GrapeCity.Documents.Text.FontTables.GetPaletteEntryLabels">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetPaletteEntryLabels.html#GrapeCity_Documents_Text_FontTables_GetPaletteEntryLabels">GetPaletteEntryLabels()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the array of user interface strings associated with each palette entry.</p>
<p>
Depends on 'CpalDraw', 'name' tables.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetPalettes" data-uid="GrapeCity.Documents.Text.FontTables.GetPalettes">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetPalettes.html#GrapeCity_Documents_Text_FontTables_GetPalettes">GetPalettes()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the array of font palettes (from CPAL table).</p>
<p>
Depends on 'CpalDraw', 'name'(optionally) tables.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetUnicodeChars" data-uid="GrapeCity.Documents.Text.FontTables.GetUnicodeChars">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetUnicodeChars.html#GrapeCity_Documents_Text_FontTables_GetUnicodeChars">GetUnicodeChars()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a HashSet with all supported Unicode characters.</p>
<p>
Depends on 'cmap' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_GetUnicodeRanges" data-uid="GrapeCity.Documents.Text.FontTables.GetUnicodeRanges">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.GetUnicodeRanges.html#GrapeCity_Documents_Text_FontTables_GetUnicodeRanges">GetUnicodeRanges()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string with the list of supported Unicode ranges.</p>
<p>
Depends on 'OS/2' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_IsLoaded_GrapeCity_Documents_Text_TableTag_" data-uid="GrapeCity.Documents.Text.FontTables.IsLoaded(GrapeCity.Documents.Text.TableTag)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.IsLoaded.html#GrapeCity_Documents_Text_FontTables_IsLoaded_GrapeCity_Documents_Text_TableTag_">IsLoaded(TableTag)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value indicating if the specified OpenType table is loaded.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_LoadTables_GrapeCity_Documents_Text_TableTag___" data-uid="GrapeCity.Documents.Text.FontTables.LoadTables(GrapeCity.Documents.Text.TableTag[])">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.LoadTables.html#GrapeCity_Documents_Text_FontTables_LoadTables_GrapeCity_Documents_Text_TableTag___">LoadTables(params TableTag[])</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the missing OpenType tables specified with an array of tags.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_MapChar_System_Int32_" data-uid="GrapeCity.Documents.Text.FontTables.MapChar(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.MapChar.html#GrapeCity_Documents_Text_FontTables_MapChar_System_Int32_">MapChar(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the glyph index for the specified Unicode character.</p>
<p>
Depends on 'cmap' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_TryGetGlyphIndex_System_String_System_UInt16__" data-uid="GrapeCity.Documents.Text.FontTables.TryGetGlyphIndex(System.String,System.UInt16@)">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.TryGetGlyphIndex.html#GrapeCity_Documents_Text_FontTables_TryGetGlyphIndex_System_String_System_UInt16__">TryGetGlyphIndex(string, out ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to return index of the glyph by its name from &quot;post&quot; table.</p>
<p>
Depends on 'post' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_TryMapChars_System_Collections_Generic_HashSet_System_Int32__System_Collections_Generic_HashSet_System_Int32__" data-uid="GrapeCity.Documents.Text.FontTables.TryMapChars(System.Collections.Generic.HashSet{System.Int32},System.Collections.Generic.HashSet{System.Int32})">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.TryMapChars.html#GrapeCity_Documents_Text_FontTables_TryMapChars_System_Collections_Generic_HashSet_System_Int32__System_Collections_Generic_HashSet_System_Int32__">TryMapChars(HashSet&lt;int&gt;, HashSet&lt;int&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Maps the specified set of Unicode characters to the font glyphs and fills the set of successfully mapped characters.</p>
<p>
Depends on 'cmap' table.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_FontTables_UnloadTables_GrapeCity_Documents_Text_TableTag___" data-uid="GrapeCity.Documents.Text.FontTables.UnloadTables(GrapeCity.Documents.Text.TableTag[])">
          <a class="xref" href="GrapeCity.Documents.Text.FontTables.UnloadTables.html#GrapeCity_Documents_Text_FontTables_UnloadTables_GrapeCity_Documents_Text_TableTag___">UnloadTables(params TableTag[])</a>
        </td>
        <td class="markdown level1 summary"><p>Unloads OpenType tables specified with an array of tags.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
