title: How to get Ghostscript to use embedded fonts in PDF
body: <pre><code>gs -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH \
     -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf
  </code></pre>
  
  <p>I'm using (trying anyway) to use Ghostscript to reduce my PDF file size. The command above looks like it works, it reduces file size greatly, but then several of the fields are garbled. As for as I can track it down, It's doing font substitution. IE, The same text = same garbled text. </p>
  
  <p>The fonts are embedded in the PDF when it gets to me. Additionally, I have tried to add all the fonts to the Fontmap.</p>
  
  <p>Any ideas, Ideally I would like it to use the embedded fonts without me having to update the gs system fonts/edit fontmap, etc. I'm using Ubuntu 9.10 and the Fonts embedded are windows fonts, Arial/TimesNewRoman.</p>
  
  <p>Thanks.</p>