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

--- Comment #11 from [email protected] 2011-11-16 04:49:34 PST ---
Created attachment 53597
  --> https://bugs.freedesktop.org/attachment.cgi?id=53597
Resize in DRAW Example Resizes "stroke-width"

Thank you for your continued testing of "stroke-width" in SVG. We attempted to
resize an SVG picture in DRAW as suggested in the above comment, and here are
some of our results:

On 2011-11-14 22:58:41 PST Rainer Bielefeld wrote, "...For such
complex needs WRITER is the wrong tool, 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."

Perhaps we are missing something. When we open an SVG picture in DRAW and
resize it then the "stroke-width" appears to also be resized. Please see the
'stroke-width:1.0000000px;' from within the original "lizard.svg" file and then
see the 'stroke-width="28.222"' from within the resized "lizard_resized.svg"
file. Of course, the generated SVG from DRAW in OSX incorrectly modifies the
SVG code into PNG, but that is a different BUG (please see BUG 41995, Bug
42092,
and others).

How does a person open the SVG in DRAW and resize the SVG so as not to modify
line width?

To conduct our test, please follow these steps:
1. Locate an SVG picture (we used "lizard.svg").
2. Insert the SVG into DRAW. Use Menu 'Insert -> Picture from file -
"lizard.svg"' 
   We have a simple picture of a "lizard" in DRAW.
3. Resize from a small picture to a big picture.
  Expected: The [stroke-width:1.0000000px;] within the SVG should, reportedly,
remain constant.
  Actual: The [stroke-width] becomes more then a pixel within the SVG and other
errors occur.

Please note: To view the "SVG code" within an SVG file use any "robust" text
editor. Look for the "stroke-width" tag.

Perhaps we are missing a step? Perhaps additional Error Reports should be
generated?

Attached Resize in DRAW.zip shows screenshots of the SVG stroke-width and the
SVG source code that demonstrates some of the problems.

Thank you for your help.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to