title: Pdf embedded fonts ignored by pdftops
body: <p>I have been trying to embed all missing fonts in a pdf just to avoid "surprises" when printing or rendering them because of the font substitution.</p>
  
  <p>So i have created a document containing just "Bergamo Std" text using <a href="http://www.fontsite.com/2077/bergamo-std/" rel="nofollow">BergamoStd</a> font.
  After that used Pdf Creator to generate a pdf without font embedding: BergamoStd.pdf</p>
  
  <p>Using C#/iText i embed the font into pdf. (BergamoStd-embedded.pdf)
  I can correctly render the embedded pdf with or without the font being present in the system.
  Adobe reader, qpdfview, evince render the pdf without problems and acrobat reader tells the font is embedded as well as pdffonts.</p>
  
  <p><a href="http://qpdf.sourceforge.net/" rel="nofollow">qpdf</a> is not reporting anything bad with this pdf.</p>
  
  <p>If i use ghostscript (9.07) to generate a ps file from the embedded pdf i get a ps that can be rendered and printed ok and the font is also embedded in that ps file.
  pdf2ps of course gets the same resoults as ghostscript does.
  even <a href="http://www.foolabs.com/xpdf/download.html" rel="nofollow">xpdf</a> in windows produces a valid ps file, with the font embedded.</p>
  
  <p>but if i use pdftops from poppler-utils (v0.24) to generate the ps file i get a small ps file with no font embedded.</p>
  
  <p>Even further; pdftops can not embed the font in the .ps even if the bergamoStd.ttf file is present in the system, no matter if the input pdf is the one with or without the font embedded.</p>
  
  <p>Can anybody explain why pdftops cant embed this font?
  Am i missing something?</p>
  
  <p>my test files are available <a href="http://goo.gl/e2rtFq" rel="nofollow">here</a> if you dont want to generate your own files following the steps i described before.</p>
  
  <p>TIA.</p>