Bug 71828 - Distorted eps-exports with LO Draw
Summary: Distorted eps-exports with LO Draw
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: notBibisectable, regression
Depends on:
Blocks: Images-EPS
  Show dependency treegraph
Reported: 2013-11-20 10:39 UTC by jhe
Modified: 2022-02-03 17:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:

example files (12.90 KB, application/zip)
2013-11-20 10:39 UTC, jhe
File exported with LO (9.95 KB, image/eps)
2014-07-21 08:00 UTC, jhe
LibO 3.3 VS 3.6 and above (41.92 KB, image/png)
2014-07-27 19:33 UTC, Yousuf Philips (jay) (retired)
EPS export of grouped drawing with current master (15.85 KB, image/x-eps)
2022-02-03 17:42 UTC, Jean-Baptiste Faure

Note You need to log in before you can comment on or make changes to this bug.
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 under Windows and also with 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 rc

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

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 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
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 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

Thank you for your efforts!
Comment 4 Yousuf Philips (jay) (retired) 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 Yousuf Philips (jay) (retired) 2014-07-27 19:33:39 UTC
Created attachment 103557 [details]
LibO 3.3 VS 3.6 and above
Comment 6 Robinson Tryon (qubit) 2015-12-14 05:32:44 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2017-01-03 19:46:51 UTC Comment hidden (obsolete)
Comment 8 Aron Budea 2018-02-05 23:15:25 UTC
Bug already there in oldest state of bibisect-43all => notbibisectable.

Bug is still there in / Ubuntu 17.10.
Comment 9 QA Administrators 2019-02-06 03:50:44 UTC Comment hidden (obsolete)
Comment 10 jhe 2019-02-19 10:24:28 UTC
I tested the behavior with version (x64) under Windows 7. The bug is still present.
Comment 11 QA Administrators 2021-02-19 04:23:03 UTC Comment hidden (obsolete)
Comment 12 Jean-Baptiste Faure 2022-02-03 17:41:20 UTC
I do not know how the export with the old version has been done, but it has not be done the same way the export with the current version. Indeed the size of the EPS image (width x height) does not fit the size of the odg page.

That said exporting the odg document as EPS file gives a distorted image. That can be seen on the circles that are ellipsis in the EPS.

To get circles exported as circles, there is a workaround:
1/ in the odg, ctrl+A to select all
2/ right click and choose group
3/ File > Export: take care to check "Selection" in the filepicker.

Tested with 

Version: / LibreOffice Community
Build ID: 3e9975cf507e24e9c501575c501833164d217acc
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded


Version: / LibreOffice Community
Build ID: d036ea9651c05a2a50794bc5c0ee7ea54708ad6a
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

Best regards. JBF
Comment 13 Jean-Baptiste Faure 2022-02-03 17:42:16 UTC
Created attachment 178024 [details]
EPS export of grouped drawing with current master