# GrapeCity.Documents.Text.CffTable

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Text_CffTable" data-uid="GrapeCity.Documents.Text.CffTable" class="text-break">CffTable Class
</h1>
  <div class="markdown level0 summary"><p>Represents a Compact Font Format (CFF) table.</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">CffTable</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_CffTable_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CffTable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CffTable</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_CffTable_CIDGroupIndices" data-uid="GrapeCity.Documents.Text.CffTable.CIDGroupIndices">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.CIDGroupIndices.html#GrapeCity_Documents_Text_CffTable_CIDGroupIndices">CIDGroupIndices</a>
        </td>
        <td class="markdown level1 summary"><p>Maps GIDs to indices in the CIDGroups array.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_CharSet" data-uid="GrapeCity.Documents.Text.CffTable.CharSet">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.CharSet.html#GrapeCity_Documents_Text_CffTable_CharSet">CharSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the charset array (GID to SID mapping, or GID to CID for CID-key fonts).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_CharSpaceToEmX" data-uid="GrapeCity.Documents.Text.CffTable.CharSpaceToEmX">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.CharSpaceToEmX.html#GrapeCity_Documents_Text_CffTable_CharSpaceToEmX">CharSpaceToEmX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the X factor to recalculate character space units to user space units (em).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_CharSpaceToEmY" data-uid="GrapeCity.Documents.Text.CffTable.CharSpaceToEmY">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.CharSpaceToEmY.html#GrapeCity_Documents_Text_CffTable_CharSpaceToEmY">CharSpaceToEmY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Y factor to recalculate character space units to user space units (em).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_CharStrings" data-uid="GrapeCity.Documents.Text.CffTable.CharStrings">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.CharStrings.html#GrapeCity_Documents_Text_CffTable_CharStrings">CharStrings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of glyph charstrings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_DefaultWidthX" data-uid="GrapeCity.Documents.Text.CffTable.DefaultWidthX">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.DefaultWidthX.html#GrapeCity_Documents_Text_CffTable_DefaultWidthX">DefaultWidthX</a>
        </td>
        <td class="markdown level1 summary"><p>If a glyph width equals the DefaultWidthX value it can be omitted from the charstring.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_Encoding" data-uid="GrapeCity.Documents.Text.CffTable.Encoding">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.Encoding.html#GrapeCity_Documents_Text_CffTable_Encoding">Encoding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the encoding array (for non-CID fonts). It maps 1-byte code to GID.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_FontName" data-uid="GrapeCity.Documents.Text.CffTable.FontName">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.FontName.html#GrapeCity_Documents_Text_CffTable_FontName">FontName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the FontName or CIDFontName for CID-keyed fonts.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_FormatMajorVersion" data-uid="GrapeCity.Documents.Text.CffTable.FormatMajorVersion">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.FormatMajorVersion.html#GrapeCity_Documents_Text_CffTable_FormatMajorVersion">FormatMajorVersion</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the format major version (starting at 1).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_FormatMinorVersion" data-uid="GrapeCity.Documents.Text.CffTable.FormatMinorVersion">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.FormatMinorVersion.html#GrapeCity_Documents_Text_CffTable_FormatMinorVersion">FormatMinorVersion</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the format minor version (starting at 0).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_GlobalSubrs" data-uid="GrapeCity.Documents.Text.CffTable.GlobalSubrs">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.GlobalSubrs.html#GrapeCity_Documents_Text_CffTable_GlobalSubrs">GlobalSubrs</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of charstrings with global subrs.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_GlyphCount" data-uid="GrapeCity.Documents.Text.CffTable.GlyphCount">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.GlyphCount.html#GrapeCity_Documents_Text_CffTable_GlyphCount">GlyphCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of glyphs.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_IsCIDFont" data-uid="GrapeCity.Documents.Text.CffTable.IsCIDFont">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.IsCIDFont.html#GrapeCity_Documents_Text_CffTable_IsCIDFont">IsCIDFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating if this is a CID-keyed font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_ItalicAngle" data-uid="GrapeCity.Documents.Text.CffTable.ItalicAngle">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.ItalicAngle.html#GrapeCity_Documents_Text_CffTable_ItalicAngle">ItalicAngle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the italic angle in counter-clockwise degrees from the vertical. Zero for upright text, negative for text that leans to the right (forward).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_LocalSubrs" data-uid="GrapeCity.Documents.Text.CffTable.LocalSubrs">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.LocalSubrs.html#GrapeCity_Documents_Text_CffTable_LocalSubrs">LocalSubrs</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of charstrings with local subrs.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_NominalWidthX" data-uid="GrapeCity.Documents.Text.CffTable.NominalWidthX">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.NominalWidthX.html#GrapeCity_Documents_Text_CffTable_NominalWidthX">NominalWidthX</a>
        </td>
        <td class="markdown level1 summary"><p>The glyph width is computed by adding the CharString width to NominalWidthX value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_UnderlinePosition" data-uid="GrapeCity.Documents.Text.CffTable.UnderlinePosition">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.UnderlinePosition.html#GrapeCity_Documents_Text_CffTable_UnderlinePosition">UnderlinePosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the suggested distance of the top of the underline from the baseline (negative values indicate below baseline).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_UnderlineThickness" data-uid="GrapeCity.Documents.Text.CffTable.UnderlineThickness">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.UnderlineThickness.html#GrapeCity_Documents_Text_CffTable_UnderlineThickness">UnderlineThickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the suggested value for the underline thickness.</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_CffTable_GetGid_System_Byte_" data-uid="GrapeCity.Documents.Text.CffTable.GetGid(System.Byte)">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.GetGid.html#GrapeCity_Documents_Text_CffTable_GetGid_System_Byte_">GetGid(byte)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the glyph index for specified character code.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_GetString_System_Int32_" data-uid="GrapeCity.Documents.Text.CffTable.GetString(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.GetString.html#GrapeCity_Documents_Text_CffTable_GetString_System_Int32_">GetString(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string with the specified SID.
Note! Method can return null if string with specified SID not found.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_TryGetGID_System_String_System_UInt16__" data-uid="GrapeCity.Documents.Text.CffTable.TryGetGID(System.String,System.UInt16@)">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.TryGetGID.html#GrapeCity_Documents_Text_CffTable_TryGetGID_System_String_System_UInt16__">TryGetGID(string, out ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to get glyph index (GID) by glyph name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_TryGetGID_System_UInt16_System_UInt16__" data-uid="GrapeCity.Documents.Text.CffTable.TryGetGID(System.UInt16,System.UInt16@)">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.TryGetGID.html#GrapeCity_Documents_Text_CffTable_TryGetGID_System_UInt16_System_UInt16__">TryGetGID(ushort, out ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to get glyph index (GID) by glyph name represented by SID.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_CffTable_TryGetSID_System_UInt16_System_UInt16__" data-uid="GrapeCity.Documents.Text.CffTable.TryGetSID(System.UInt16,System.UInt16@)">
          <a class="xref" href="GrapeCity.Documents.Text.CffTable.TryGetSID.html#GrapeCity_Documents_Text_CffTable_TryGetSID_System_UInt16_System_UInt16__">TryGetSID(ushort, out ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to get glyph name represented by SID by glyph index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
