[Libreoffice-bugs] [Bug 43065] New: DRAW, WRITER, etc Modifies SVG "stroke-width"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 18 15:09:47 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43065

             Bug #: 43065
           Summary: DRAW, WRITER, etc Modifies SVG "stroke-width"
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Drawing
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: rk601 at yahoo.com


Created attachment 53654
  --> https://bugs.freedesktop.org/attachment.cgi?id=53654
Circle SVG Used in this Test

With regard to BUG #42882, there apparently is some inconsistent behavior when
SVG is resided.

On 2011-11-14 22:58:41 PST from BUG #42882 Rainer Bielefeld wrote, "...you have
to use a separate drawing Editor to prepare the picture so that it can be used
as illustration in WRITER. Here for example you can open the SVG in DRAW, there
a resize will not modify lines width, and then you insert the small feet with
thick outlines into WRITER.

WONTFIX, because DRAW offers the required function and WRITER is not a SVG
editor."

We have found, that at least with OSX, SVG pictures created within DRAW and
INSERTED into DRAW both "modify the lines" when the SVG pictures are resized.
In other words, the SVG pictures' "stroke-width" appear to be modified when
resized, and therefore DRAW does not appear to offer the desired functionality.

As an example, we tested the desired functionality in the Master:

LibO-dev 3.5.0 
Build ID: 8f87c3d-5d03837-adcf6d5-c4bb9bd
On OSX 10.6.8

Located at:

http://dev-builds.libreoffice.org/daily/MacOSX_10.6.7_Intel_no-moz/master/2011-11-16_01.40.47/

with

master~2011-11-16_01.40.47_LibO-Dev_OOO350m1_MacOS_x86_install_en-US.dmg

Steps to reproduce:

1. Start LibreOffice and choose File -> New -> Drawing.
2. At the bottom of the window, click on the Basic Shapes tool (in this case
the diamond shape).
3. Draw a small Diamond shape.
4. Select Insert -> Picture -> From File...
5. Select Circle.svg
6. Resize both SVG pictures.

Expected results: Reportedly, the SVG pictures' "stroke-width" will remain the
same.
Actual results: The SVG pictures' "stroke-width" does not remain the same, so
desired functionality is not available.

Please see BUG #42882, where we suggest that the desired functionality would
allow a person to control whether or not the “stroke-width” gets scaled or
stays the same; for example right-clicking on the SVG picture from within
LibreOffice would produce a pop-up menu that allows the user to choose either
to re-size the “stroke-width” or not re-size the “stroke-width.” This would be
similar to the current functionality where the pop-up menu contains the
commands "Line... Area... Text..." etc. This functionality could be available
within WRITER, DRAW, etc.

Thank you.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list