Certain PDF files that I import, after the text/curves and font substitution dialogs fail to import due to a "The file is corrupted." error:
I don't have much hope that the issue will be corrected in the source application so I'm hoping there may be some possibility of Corel fixing this. I had hoped it would be fixed in X7 but it wasn't.
I've included an example at this link:
https://www.dropbox.com/sh/vkbz9j97njtm1ct/AAD13tCkHPoU-1Ui5-Etwz-Ja
The original file can't be imported into CorelDraw but works fine in every other application I've tried it in such as Adobe Acrobat, Firefox and Chrome (using their native PDF readers), Windows 8.1 preview app, Android PDF readers, etc.
While it's likely there is something non-standard in the original file, CorelDraw is the only application to make a fuss about it and clearly there is enough information in there for proper rendering so I just need CorelDraw to ignore whatever error it's encountering.
I've found that loading and re-saving such files in Acrobat Pro does not fix them - they still cannot be imported. However, if I load them in Acrobat Pro and save using the "Optimize" option, the resulting PDF can be imported without error. Examples of these 2 re-saved files are included in the link above.
While the save Optimized is a suitable workaround, I sometimes have to work with many such files at the same time and since there does not appear to be any way to automate or run through the command line the save Optimized procedure in Acrobat I have to do so for each file individually which is slow and tedious. I'd love to see this issue fixed in CorelDraw.
I also wonder if there is any way to make font substitution choices persistent so that they are automatically applied without confirmation through a dialog every time I import a PDF. Similarly for the text/curves dialog. There are very few cases were I'd want to import text as curves so I'd much rather be able to set a default and have PDF files imported without interaction with an option somewhere to restore the dialogs when I need them. Again, for a few imports this is not a big deal but when I have to import many it would save me much time and frustration if I could just drag a stack of files to CorelDraw and have them all import automatically without pestering me further.
Thanks.
Simple test to try: open the file in Adobe Reader and then save it out. Try importing the Adobe saved file into DRAW.
As I stated, simply saving does not fix the problem but saving as "optimized" does. This is with Acrobat Pro (I don't know if the same options is available in Reader).
There is something in the meta data, or some other element that is not visible in the PDF that bombs CD.
The attached is saved out of Acrobat as an optimized PDF so I could strip out unneeded meta data.
Mike
Yes, my hope is someone from Corel will see this thread and fix CorelDraw so that it doesn't choose to abort a PDF import because of some extra or non-standard meta-data...
And let me set default import options for unattended imports.
I've included lots of details in my original post.
Magriite said: Yes, my hope is someone from Corel will see this thread and fix CorelDraw so that it doesn't choose to abort a PDF import because of some extra or non-standard meta-data... And let me set default import options for unattended imports. I've included lots of details in my original post. Thanks.
There is also, the probability that the error in the PDF files is coming from the application that generated them in the first place. Does that program have any possibility to set any options for generating the PDF file, and have you tried using those to make the generated file play nice
It's most definitely caused by the program generating the pdf file. I have a choice of 2 drivers but one does a better job of supporting special characters (such as the unicode greater than or equal sign in the attached pdf) but is also the one that generates files that CorelDraw has a problem with. Also, it only tends to have a problem with files that contain special characters, so maybe it has something to do with font encoding or font meta data.
The issue has been brought up with no solution from other users so I have no optimism that a solution will come from the generating program's side. At least not any time soon.
That being said, since CorelDraw is the only program that seems to have an issue with these files, I think it is an issue that should be addressed by Corel. In principal CorelDraw should be able to import a PDF that every major PDF reader can read. To label these files "corrupt" and give up seems to be the wrong approach. It's more likely the file is a little non-standard but it seems to me that CorelDraw should still try to import as best it can - which would most likely be perfectly in this case.
Frankly, CorelDraw has the best PDF importer I've come across -- it surprisingly works much better than Adobe's own importer in Illustrator, for instance. (Surprising that Adobe's is so poor.) That doesn't mean there's no room for improvement, though.
thanks.