Bug 141241

Summary: kmplot bug print to file wrong bounding box
Product: [Applications] kmplot Reporter: Reissner <rei3ner>
Component: generalAssignee: Klaus-Dieter M <kd.moeller>
Status: RESOLVED WORKSFORME    
Severity: normal CC: yurchor
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Reissner 2007-02-05 21:34:42 UTC
Version:           1.2.0 (using KDE 3.4.2 Level "b" , SUSE 10.0)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15-default

Print to file does not merely produce a ps file 
but even an eps file. 
This could be useful (e.g. for latex integration) 
if the bounding box were correct. 
In fact it is much too large in all cases i tried.
Comment 1 Eckhart Wörner 2008-12-24 03:04:58 UTC
*** Bug 141242 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Crouthamel 2018-11-02 04:27:42 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-16 02:43:29 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 4 Yuri Chornoivan 2019-01-03 12:30:07 UTC
There is no need to print to EPS (or PDF) in the current version (Applications 18.12).

KmPlot exports plots in EPS (bitmap, 96 dpi for web view) or SVG (vector graphics). Due to Qt limitations, every single SVG cannot be included into LaTeX using "svg" package. The problem arrives for the functions with high variation in the plot range (cannot be observed for "sin(x)" but breaks the results with "Dimension too large" for "x^5"). But every KmPlot's SVG plot can be converted into PDF using Inkscape flawlessly:

inkscape --export-pdf=MyFig.pdf MyFig.svg

The result of such conversion perfectly fits textbooks (vector graphics). Moreover, current versions of Inkscape (> 0.91) allow conversion SVG into LaTeX directly thus removing the problem of font consistency between the text and figures.

Closing the bug as WORKSFORME