-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converted PDF have broken pages in Acrobat Pro DC #111
Comments
Thank you for reporting this in detail! This may indicate multiple bugs in pdfsizeopt. Unfortunately I don't have a license for Acrobat Pro DC 2018, so I can't reproduce the problem. The indicated pages of nnGmo2.pdf work for me in Google Chrome and Evince. Do you have more detailed error messages from Acrobat Pro DC 2018? You may want to diagnose this further. First, try FYI The full list of useful flags to try are: |
Even the last one However, after convert to QDF with Then, process the QDF with the last one above, it sucks again. Would you use the free trial license to give a try ? I don't know how to get a detailed error messages from Acrobat Pro DC 2018 yet. |
I got a fix with 'qpdf':
|
Can you please convert fo.pdf, for.pdf and forr.pdf with pdfsizeopt, upload all 3*2 files to this issue, and declare which work in Acrobat and which don't? It would be awesome to have such short example PDF files which don't work in Acrobat. Having uploaded the files here you may also want to report the bug to Adobe, and wait for analysis and comments of the Adobe engineers. Currently (without a meaningful error message from Adobe Acrobat) it's not obvious whether pdfsizeopt or Adobe Acrobat has the bug. I'm developing pdfsizeopt on Linux. In order to use Adobe Acrobat, I'd have to give my credit card details to Adobe (that's the smaller issue), and I'd have to either buy a Mac or install Windows to one of my existing computers (or into a VM). I'm willing to do this only if I'm compensated for the licenses and the work in advance. |
I tried to extract some pages. When there are a few pages, everything is right, thus I use this file set:
|
I have the same issue. Thank you @galaxy001 for help @pts error message in adobe acrobat pro is |
Thank you for reporting this. I'd love to debug and fix this, but unfortunately I don't have a copy of Acrobat Pro DC, and the error message Expected a dict object. is already helpful, but not specific enough, it could take hours or days to debug by trial and error. Any contributions are welcome. |
Nevertheless, it's still worth investigating what difference |
Hi Péter, I keep a copy of the last Adobe Reader for Linux (9.5.5) around, and just for your information, that program also doesn't show page 12 (and when I scroll down that far acroread spits out an error message "There was a problem reading this document (14)."). Also, my version of pdftk can't process this exo.pdf file. To any Linux users reading this: you need quite a number of 32-bit libraries installed on your system to use this, and I have been told there are some security bugs with this version. So use it at your own risk. |
I remove the broken xmp item, and get the result with
../pdfsizeopt.single nnGm.pdf nnGmo2.pdf 2>nnGmo2.log
.The "nnGmo2.pdf" can be viewed with macOS Preview app, but in Acrobat Pro DC 2018, some pages are broken. Such as: xx, 68, 69,70, 226-230 as labeled.
The pdf structure view also breaks after page 21.
nnGmo2.log
nnGmo2.pdf
The text was updated successfully, but these errors were encountered: