Bug 70040 - [SVG] Resizing Image does not work properly
Summary: [SVG] Resizing Image does not work properly
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.0.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 14:50 UTC by Matthieu
Modified: 2013-11-22 11:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test_file (1.87 KB, image/svg+xml)
2013-10-02 14:50 UTC, Matthieu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu 2013-10-02 14:50:54 UTC
Created attachment 86973 [details]
test_file

Hello, 

The test file was originaly created in InkScape.

If you open the test file with Draw and if you try to reduce all of it, you will see that the width of the black lines are not reduce onthe contrary of the yellow line.

I already talk about it in the dev mailing list here http://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg76370.html

but here it's a SVG file.
Comment 1 Regina Henschel 2013-10-02 18:06:31 UTC
Same as I already told on the mailing-list. The yellow one is a filled polygon and the black ones are thick lines. It is no bug, that they are treated different.

If I reduce the size of the .svg object, the width of the black lines are reduced the same as the yellow object. That is correct, because resizing the whole image adds an additional transformation on the image, as it is done for all images. The object is treated as image.

If I break the .svg and group the result, and then reduce the size of the group, the width of the black lines are not changed. That is correct, because now you have no longer an image, but single, scalable objects. For lines only length is effected be resizing, not stroke width; try it with a new line. The yellow object is a filled object with width and height and resizing effects width and height.

There is no error at all. 
 
I use Version:
4.2.0.0.alpha0+
Build ID: 32dcd60b47b78c5afa3885bd3a392b511ca713c3
TinderBox: Win-x86@39, Branch:master, Time: 2013-09-30_01:41:28
Windows 7.