Bug 71828 - Distorted eps-exports with LO Draw
Summary: Distorted eps-exports with LO Draw
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Drawing (show other bugs)
Version: 3.5.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-11-20 10:39 UTC by jhe
Modified: 2014-07-27 19:33 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
example files (12.90 KB, application/zip)
2013-11-20 10:39 UTC, jhe
Details
File exported with LO 4.3.0.3 (9.95 KB, image/eps)
2014-07-21 08:00 UTC, jhe
Details
LibO 3.3 VS 3.6 and above (41.92 KB, image/png)
2014-07-27 19:33 UTC, Jay Philips
Details

Description jhe 2013-11-20 10:39:52 UTC
Created attachment 89522 [details]
example files

I have problems with the eps-export in LO Draw. The exported eps-files of a odg-figure are distorted. The height/width ratio of the resulting eps file is wrong. This problem occurs with the actual version 4.1.3.2 under Windows and also with 3.5.7.2 under Ubuntu.

In an older version of Draw from June 2010 (no idea which version) this problem did not occur.

Example files are in the attachment: The odg-file, an actual eps export and the old export from June 2010
Comment 1 Joel Madero 2014-07-21 05:22:09 UTC
Ubuntu 14.04 x64
LibreOffice 4.3.0.2 rc

I downloaded the test kit
Opened the odg with Draw
File -> Export, selected eps
Exported

Opened the resulting file with GIMP

Compared the file height/width between Draw and Gimp - both were the same

Closing as WFM. 

If you can reproduce with 4.3.0.2 or later please set the bug back to UNCONFIRMED.

FWIW I see the same width/height with your sample exports. How do you see this as distortion of ratios?
Comment 2 jhe 2014-07-21 08:00:00 UTC
Created attachment 103173 [details]
File exported with LO 4.3.0.3
Comment 3 jhe 2014-07-21 08:01:41 UTC
Dear Joel,

thank you for trying to reproduce this error. I tested the export function with the newest version 4.3.0.3. It has still the same distortion.

I don't know which files you compared in GIMP. In order to see this mistake, please compare the contained circles in the figure of the new eps-files with the old version (exampleOldVersion) I submitted. You can see that the height of circles are bigger than their width. Please compare it also with the size in the odg-file. There are nearly perfect circles with Width/Height = 0,7cm/0,69cm.

I found out that the problem can be avoided by setting all margins of the page to 0 cm at the page layout window. Without the margins I have not distortions in any figure.

For comparison I submit the newest distorted eps-file exported with LO 4.3.0.3.

Thank you for your efforts!
Comment 4 Jay Philips 2014-07-27 19:33:11 UTC
Hi jhe,

Confirmed in Linux Mint 3.6.7, 4.2.5, 4.3.1. The export is fine in 3.3.0, as the dimensions are corresponding to the image displayed in Draw.

Dimensions (Width VS Height)
Draw Display : 1 x 3.07
3.3.0 EPS    : 1 x 3.07
4.3.1 EPS    : 1 x 2.68
Comment 5 Jay Philips 2014-07-27 19:33:39 UTC
Created attachment 103557 [details]
LibO 3.3 VS 3.6 and above


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.