Bug 284263 - Legend text is rendered as a screen resolution pixmap when printing to ps or pdf.
Summary: Legend text is rendered as a screen resolution pixmap when printing to ps or ...
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 2.0.4
Platform: Unlisted Binaries All
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 12:56 UTC by Netterfield
Modified: 2011-10-28 13:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Netterfield 2011-10-17 12:56:44 UTC
Version:           2.0.4 (using KDE 4.6.5) 
OS:                All

Legends are rendered to screen resolution pixmaps when printing.  This means that the legend text will be at reduced resolution.  This is not true for other labels, which are rendered directly to the printer.

Reproducible: Always

Steps to Reproduce:
Print something with a legend.


Expected Results:  
Legend text should be at full resolution when printed.

OS: Linux
Comment 1 Netterfield 2011-10-17 12:58:53 UTC
Bug identified by Ralph Paul.
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