[QGIS-trac] [Quantum GIS] #3466: Extremely Bloated PDF Vector Export under Win.

Quantum GIS qgis at qgis.org
Fri Feb 4 20:07:42 EST 2011


#3466: Extremely Bloated PDF Vector Export under Win.
------------------------------------------------+---------------------------
   Reporter:  Thaddeus                          |              Owner:  jef          
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Printing                          |            Version:               
   Keywords:  Bloated PDF Vector Export         |   Platform_version:  win 1.6      
   Platform:  Debian                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Under Win using 1.6 I noticed the PC struggling to draw on the screen
 these PDF printouts to show just one pair of lat/lon point. Examining the
 the PDF reveals strange huge data XObjects.

 The attached example was created by exporting an empty project with no
 objects on the Composer, that is, launch QGIS, run Composer Manager, Add a
 composer view and Export it.

 The resulting PDF has, out of no where, 3 large embedded images, PDF
 objects 7, 9 and 11, each with a size of 3508 x 2480 pixels and 3 bytes
 per pixel in two of them, the other one is grayscale: the total cargo to
 process and unfold on memory is like 60 mega bytes. Also notice the PDF
 object 13 with malformed PS code, the third line pushes the graphic
 setting, and right after that pushes again, followed by pop and pop, push,
 push, pop, pop and finally push???

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3466>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list