Bug report #8240
Exporting PDF Error From Print Composer
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17051|
I am on Windows Weekly build 1ad5b7 (QGIS-OSGeo4W-1.9.0-26-Setup.exe 01-Jul-2013 20:10)
Win 7 Pro
Intel Xeon 3.4 GHZ, 24GB ram
578GB on the drive I am working off.
I get a bad allocation error on exporting a PDF larger than an A4. The one I tried as an A0 export but it fails on exporting. Some exports I have done show some layer items.
I do have better success on my Macbook pro laptop (i7 ?) weekly build, but fails on my Windows Xeon. Is it something to do with the way postscript to PDF is handled on Windows?
I seem to have export errors from Windows on PDF larger than about 20MB.
The PDF files that do get generated may also have some sort of problem with the pdf file settings. I have errors when trying to place the PDFs into Adobe InDesign on Windows. Saving the PDF as a different type, or as an EPS is my current work around.
#1 Updated by James Harvey about 8 years ago
My old MacBook Pro details to compare my Windows Xeon against are OSX 10.6.7 2.5 GHZ Intel Core Duo, 4GB Ram.
I can export an A0 99MB pdf off the Mac QGIS 1.8 ok.
It would also be nice to have some more options when exporting the PDFs. eg type of PDF. But also options like choosing not to convert text to paths which I am sure would also increase files sizes quite a lot.
#2 Updated by James Harvey about 8 years ago
Had more success with my Windows setup. I found that some SVG icons were causing issues. These were icons that were exported from Adobe Illustrator but did not pick up on the cropped canvas area in the file and had other vector icon artwork inside. I discovered this when I exported a lower res jpg off the map and it showed all the extra vector artwork in the icon files on the map.
I cleaned up my SVG files and got better performance PDF exports of my maps up to A2 size (30mb)on Windows. I could not reach A0 size though without the PDF export failing on Windows.