title: How to convert a cairo-pdf to eps without converting fonts to outlines
body: <p>We use cairo to write pdf-files. The results are great, the files are editable so we can extract text via copy &amp; paste or even open and edit the files in Adobe Illustrator and Inkscape to change the font properties.</p>
  
  <p>But as soon as we convert the PDF to EPS all fonts are converted to outlines.</p>
  
  <p>My favourite tools are <strong>pdftops</strong> and <strong>gs</strong> and this is the way I tried it:</p>
  
  <pre><code>gs -sDEVICE=eps2write -dLanguageLevel=3 -dEmbedAllFonts=true -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.eps input.pdf
  </code></pre>
  
  <p>and</p>
  
  <pre><code>pdftops -eps -level3 input.pdf output.eps
  </code></pre>
  
  <p>In addition I tried ps2eps, ps2epsi, epspdf and Inkscape via command line, but the result was always the same and all fonts are converted to outlines.</p>
  
  <p>We are using the Dejavu-fonts and the font embedding seems to be OK:</p>
  
  <pre><code>$ pdffonts input.pdf
  
  name                                 type              encoding         emb sub uni object ID
  ------------------------------------ ----------------- ---------------- --- --- --- ---------
  JTFVDF+DejaVuSans-Bold               TrueType          WinAnsi          yes yes yes      5  0
  BTWYHK+DejaVuSansCondensed-Bold      TrueType          WinAnsi          yes yes yes      6  0
  VIBPBS+DejaVuSans-Oblique            TrueType          WinAnsi          yes yes yes      7  0
  TKGUZX+DejaVuSansCondensed           TrueType          WinAnsi          yes yes yes      8  0
  </code></pre>
  
  <p>Any idea how to produce EPS-files with editable Fonts?</p>
  
  <p>Here is my file: <a href="https://www.dropbox.com/s/11afckra7i8trdq/input.pdf?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/s/11afckra7i8trdq/input.pdf?dl=0</a></p>