inkscape/inkscape-apply-invert-transform.patch
Ismail Dönmez d74ef13ddd Accepting request 134191 from GNOME:Apps
Add inkscape-apply-invert-transform.patch: Apply invert transform to all image tags (bnc#779560 lp#840625). (forwarded request 134189 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/134191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inkscape?expand=0&rev=63
2012-09-14 10:26:41 +00:00

15 lines
660 B
Diff

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) {