inkscape/inkscape-apply-invert-transform.patch

15 lines
660 B
Diff
Raw Normal View History

diff -Naur a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp
--- a/src/extension/internal/pdfinput/svg-builder.cpp 2011-07-08 13:25:09.468790000 -0500
+++ b/src/extension/internal/pdfinput/svg-builder.cpp 2012-09-12 09:10:28.477790373 -0500
@@ -1600,9 +1600,7 @@
sp_repr_set_svg_double(image_node, "width", 1);
sp_repr_set_svg_double(image_node, "height", 1);
// Set transformation
- if (_is_top_level) {
- svgSetTransform(image_node, 1.0, 0.0, 0.0, -1.0, 0.0, 1.0);
- }
+ svgSetTransform(image_node, 1.0, 0.0, 0.0, -1.0, 0.0, 1.0);
// Create href
if (embed_image) {