Bug 219845

Summary: Print to PDF troubles with long legend (Adobe printer)
Product: [Applications] kst Reporter: Grégoire Verlut <gregoire.verlut>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Grégoire Verlut 2009-12-23 17:24:13 UTC
Version:           2.0.0_devel (using unspecified)
OS:                Windows 32-Bit

I have 2 pdf printers installed, Adobe & PDFCreator.
When printing a kst file, the long legends are cut with Adobe but not with PDFCreator. And it is not cut as the same place as it is represented in Kst.

For the same legends, the PNG export works well.
Comment 1 Peter Kümmel 2010-08-14 12:14:34 UTC
Change version from 2.0.0_devel to 2.0.0 to simplify version numbering.
Comment 2 Netterfield 2011-10-25 19:47:42 UTC
SVN commit 1260743 by netterfield:

CCBUG: 219845 
CCBUG: 284263

Do a bunch of work towards better device independent printing, and
change the default resolution for PDF prints to 300 dpi.

A resolution option can now easily be implemented.
Legends are still rendered as pixmaps, so they don't work in svg output.


 M  +4 -4      arrowitem.cpp  
 M  +11 -11    labelitem.cpp  
 M  +1 -1      labelitem.h  
 M  +12 -19    labelrenderer.cpp  
 M  +3 -14     labelrenderer.h  
 M  +8 -6      legenditem.cpp  
 M  +4 -1      mainwindow.cpp  
 M  +30 -34    plotitem.cpp  
 M  +5 -5      plotitem.h  
 M  +16 -5     view.cpp  
 M  +4 -1      view.h  
 M  +1 -3      viewitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1260743
Comment 3 Netterfield 2011-10-28 13:57:54 UTC
SVN commit 1261178 by netterfield:

BUG: 219845	
BUG: 284263

When exporting, all text is now rendered directly to the painter.
All sizes are referenced to the painter's font size.
Exports to PDF or SVG should now look right in all situations.


 M  +64 -42    libkstapp/legenditem.cpp  
 M  +1 -1      libkstapp/legenditem.h  
 M  +3 -4      libkstmath/curve.cpp  
 M  +2 -2      libkstmath/curve.h  
 M  +7 -10     libkstmath/image.cpp  
 M  +2 -2      libkstmath/image.h  
 M  +2 -2      libkstmath/relation.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1261178