# GrapeCity.Documents.Pdf.PdfFontFormat

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Pdf_PdfFontFormat" data-uid="GrapeCity.Documents.Pdf.PdfFontFormat" class="text-break">PdfFontFormat Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies available formats used to represent a font in a PDF document.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Pdf.html">GrapeCity.Documents.Pdf</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Pdf.dll</h6>
  <h5 id="GrapeCity_Documents_Pdf_PdfFontFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum PdfFontFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum PdfFontFormat</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Pdf_PdfFontFormat_Type0AutoOneByteEncoding">Type0AutoOneByteEncoding</td>
        <td><p>The font is saved as one or more Type0 PDF fonts,
where each character is encoded by one byte.</p>
<p>
Note that this format can only be used for embedded fonts.
For non-embedded fonts, <a class="xref" href="GrapeCity.Documents.Pdf.PdfFontFormat.html#GrapeCity_Documents_Pdf_PdfFontFormat_Type0IdentityEncoding">Type0IdentityEncoding</a> is automatically used.
If any text has already been added to a document using this encoding,
and then the embedding mode for the font is changed to <a class="xref" href="GrapeCity.Documents.Pdf.FontEmbedMode.html#GrapeCity_Documents_Pdf_FontEmbedMode_NotEmbed">NotEmbed</a>,
an exception will occur.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Pdf_PdfFontFormat_Type0IdentityEncoding">Type0IdentityEncoding</td>
        <td><p>The font is saved as a single Type0 font with Identity encoding,
where each character is encoded with two bytes.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
