# C1.Util.FontSubSet.GetFontDifference

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_FontSubSet_GetFontDifference_" data-uid="C1.Util.FontSubSet.GetFontDifference*">GetFontDifference Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_FontSubSet_GetFontDifference_" data-uid="C1.Util.FontSubSet.GetFontDifference*"></a>
<h4 id="C1_Util_FontSubSet_GetFontDifference_System_String_C1_Util_FontSubSet_System_Int32__System_Int32__" data-uid="C1.Util.FontSubSet.GetFontDifference(System.String,C1.Util.FontSubSet,System.Int32@,System.Int32@)">GetFontDifference(string, FontSubSet, out int, out int)</h4>
<div class="markdown level1 summary"><p>Calculates &quot;panse index&quot; (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.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetFontDifference(string text, FontSubSet fss, out int panoseIndex, out int supportedGlyphCount)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetFontDifference(text As String, fss As FontSubSet, ByRef panoseIndex As Integer, ByRef supportedGlyphCount As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">text</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.FontSubSet.html">FontSubSet</a></td>
      <td><span class="parametername">fss</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">panoseIndex</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">supportedGlyphCount</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
