title: Reading text from PDF with CGPDFScanner - what is wrong with this PDF file?
body: <p>I'm trying to extract the text from this file:</p>
  
  <p><a href="https://www.dropbox.com/s/249snnj1nsve5ir/Lebenslauf.pdf?dl=0" rel="nofollow">https://www.dropbox.com/s/249snnj1nsve5ir/Lebenslauf.pdf?dl=0</a></p>
  
  <p>using CGPDFScanner. I can detect that the character encoding is WinAnsiEncoding from the included PDF dictionary, but the characters all come out garbled. As cross check, I tried copy pasting text from Preview app in Mac OS X, which works - so somehow it must be possible to extract it as Strings. On the other hand, the commercial 3rd party framework <a href="http://www.fastpdfkit.com" rel="nofollow">http://www.fastpdfkit.com</a> can't correctly extract the text, too.</p>
  
  <p>Anyone has an idea what I'm missing?  </p>
  
  <p>As a side note, I was using <a href="https://github.com/KurtCode/PDFKitten" rel="nofollow">https://github.com/KurtCode/PDFKitten</a> to scan the PDF. </p>