diff --git a/CHANGELOG.md b/CHANGELOG.md index fc11a70e1..58498e865 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file. - [#2097] Commandline command `-header` to modify SWF header values - SVG Frames export - blend modes - SVG Frames export - filter +- SVG Shapes export - non-scaling strokes ### Fixed - Close action on SWF inside DefineBinaryData diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/SVGShapeExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/SVGShapeExporter.java index 5bb4393fa..2ba22c273 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/SVGShapeExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/SVGShapeExporter.java @@ -199,6 +199,9 @@ public class SVGShapeExporter extends DefaultSVGShapeExporter { } break; } + if ("NONE".equals(scaleMode)) { + path.setAttribute("vector-effect", "non-scaling-stroke"); + } } @Override