title: Ghoscript and Embedded Fonts
body: <p>I have to convert a PDF to PDF/A using Ghostscript 9.55.0 and I have a problem with an embedded font.</p>
  <p>The original PDF has two fonts embedded: Exo2Condensed and Exo2Condensed, Bold (both TrueType).</p>
  <p>The parameters for Ghoscript are</p>
  <p>-I directory_of_fonts<br>
  -sFONTMAP=location_of_ fontmap.GS<br>
  -dPDFA=1<br>
  -sColorConversionStrategy=RGB<br>
  -dPDFACompatibilityPolicy=1<br>
  -dDEBUG<br>
  -dNOPAUSE<br>
  -sDEVICE=pdfwrite<br>
  -dEmbedAllFonts=true<br>
  -sOutputFile=location_of_output_pdf<br></p>
  <p>I have also edited the file fontmap.GS</p>
  <p>Exo2-RegularCondensed    /c:/Windows/Fonts/Exo2-RegularCondensed.otf    ;<br>
  Exo2Condensed       /c:/Windows/Fonts/Exo2-RegularCondensed.otf ;<br></p>
  <p>When I run it, Ghostscript shows the following informations</p>
  <p>FAPIhook Exo2Condensed,Bold<br>
  Trying to render the font Font Exo2Condensed,Bold with FAPI...<br>
  Font Exo2Condensed,Bold is being rendered with FAPI=FreeType<br>
  […]<br>
  FAPIhook --nostringval--<br>
  Font --nostringval-- ( aliased from Exo2Condensed,Bold ) is mapped to FAPI=FreeType<br></p>
  <p>The result of the conversion uses Arial in place of Exo2.</p>
  <p>Can someone please help me?</p>
  <p>Thanks in advance</p>