Issue 22577 - EPS graphics do not resize correctly
Summary: EPS graphics do not resize correctly
Status: CLOSED DUPLICATE of issue 21284
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Windows 2000
: P2 Trivial (vote)
Target Milestone: ---
Assignee: jack.warchold
QA Contact: issues@sw
Keywords: oooqa
Depends on:
Reported: 2003-11-17 18:29 UTC by Unknown
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

This is an example of eps graphic sizing problems in sections (44.79 KB, application/octet-stream)
2003-11-22 00:02 UTC, Unknown
no flags Details
Incorrect (re)sizing of graphics in sections (10.38 KB, application/vnd.sun.xml.writer)
2004-01-03 21:22 UTC, askoning
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-11-17 18:29:21 UTC
When EPS files are resized in any way, the Height gets set incorrectly (in my
case always .2", but may vary by graphic).  After the initial resizing, you can
not change the height, it always goes back to the size it chooses.  This can be
reproduced by doing the following:

1.  Import an .eps file (linked or unlinked)
2.  Drag the box with the mouse to resize the graphic
3.  Double click the graphic to open the settings
3.  Notice that the height is not correct
4.  Try changing the height by entering a new height
5.  You will notice that it will go back to whatever height it chose
6.  When you close the dialog, the image height will be set to the height
described in the box

I have done the same thing with .bmps and they work fine, so I am assuming at
the moment that it is only a problem with .eps files.
Comment 1 utomo99 2003-11-20 05:56:22 UTC
Please Attach the documents which make this problem, so we can test
it/faster to confirm.  
(Without the documents, we cannot confirm the problem easily/need more
Don't forget to cut other part of the documents, so the file size is
small, but we still able to see the problem. 
Comment 2 Unknown 2003-11-22 00:02:36 UTC
Created attachment 11453 [details]
This is an example of eps graphic sizing problems in sections
Comment 3 Unknown 2003-11-22 00:03:00 UTC
I have narrowed the problem down a little more, and attached a
demonstration of the problem.  The problem only happens in sections
where the eps graphic is attached as a character.  You should be able
to clearly see the problem in the attached sample.
Comment 4 Unknown 2003-12-01 18:10:54 UTC
After some more experimentation I have narrowed the problem a little
further.  It only seems to be a problem when the boundary of the
graphic is near the boundary of the section.  For example, if the only
thing in a section is a graphic, and there is no extra space above or
below the graphic.  The graphic will initially fit fine attached to
the paragraph, but if you attach it as character it will change the
height slightly.  I have also been able to reproduce this behavior
with a frame inside of a section.
Comment 5 askoning 2004-01-03 21:19:34 UTC
I have found some additional failure in resizing the graphics. Perhaps this is a
consequence of the already incorrect sizing.
OOo 1.1.1a / Redhat Linux 9.

- Rightclick the second image (the correctly scaled one).
Choose Graphics and click Original Size. The size changes to 2.74" x 1.92" which
seems correct. (At least the ratio remains the same.)
Choose OK or Cancel, whichever suits you.

- Rightclick the first image (the incorrectly scaled one).
Choose Graphics and click Original Size. The size changes to 2.74" x 0.94"
hugely distorting the graphic.

Please also see the attachment unity-circle.sxw which shows this behaviour with
a different graphic (a .GIF file -- this does not only affect EPS files!)
Comment 6 askoning 2004-01-03 21:22:02 UTC
Created attachment 12244 [details]
Incorrect (re)sizing of graphics in sections
Comment 7 askoning 2004-01-03 21:25:04 UTC
I should add that the .GIF file (unity circle) was originally a .WMF file, IIRC created by Maple. 
Comment 8 h.ilter 2004-01-05 14:53:53 UTC
Seems to be dublicate to another issue where I don't have the ID in current.
Comment 9 jack.warchold 2004-02-16 12:09:12 UTC
reassigend to jw
i will look for the duplicate issue, i think this was once in my intray
Comment 10 jack.warchold 2004-03-01 10:51:50 UTC
i think this is not only a eps graphic issue and this is a duplicate to i21284

*** This issue has been marked as a duplicate of 21284 ***
Comment 11 jack.warchold 2004-03-01 10:52:41 UTC
duplicate -> closed