Closed (fixed)
Project:
PDF To Text
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2010 at 15:34 UTC
Updated:
24 Jul 2010 at 16:20 UTC
Do you have a comparison of how this approach to doing this in PHP compares with the options from the command line:
http://www.comp.eonworks.com/scripts/convert_pdf_to_text-20040418.html
Seems like it's the same functionality you are trying to emulate for those who don't have root access..
Comments
Comment #1
Saubhagya commentedThis script is using only ps2ascii command
And I found at http://linux.about.com/library/cmd/blcmdl1_ps2ascii.htm
"ps2ascii doesn't look at font encoding, and isn't very good at dealing with kerning, so for PostScript (but not currently PDF)"
As this module looks at font encoding and ps2ascii doesn't do that. It may run fine with some PDFs. But this is not general approach.
If I'm missing something, let me know.
Comment #2
mgiffordI don't know enough about it to discuss in more depth. I just knew about the command line approach and wanted to get feedback on how it differs from what you are doing.
Comment #3
Saubhagya commentedI think it is fixed now.