christian-vigh-phpclasses / PdfToText

Extracts text from PDF files
Other
125 stars 93 forks source link

blank result page #21

Open petea-ro opened 7 years ago

petea-ro commented 7 years ago

I tried to convert a pdf file to text, and getting blank page as result.

I run the script with debug and noticed a warning message in the result:

Warning: exception 'PdfToTextDecodingException' with message 'Pdf decoding error : Using empty IDENTITY-H definition for map "IDENTITY-H", variant "GSBUPL+Tahoma".' in /var/www/html/pdf/pdf/PdfToText.phpclass:8301

mjblacker commented 7 years ago

You might want to check issue #20

When I created my fork, I also hit the issue with CID fonts and you are best to just comment out the Identity-H handling while that feature is still in development.