[dia] svg: line-width was too small with rotated matrix



commit 42284072e1f8ceb57e73f2448f332fb084d78fe7
Author: Hans Breuer <hans breuer org>
Date:   Thu Oct 9 19:34:24 2014 +0200

    svg: line-width was too small with rotated matrix
    
    use transform_length() rather than only DiaMatrix::xx.

 plug-ins/svg/svg-import.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/svg/svg-import.c b/plug-ins/svg/svg-import.c
index dd1a771..40290fe 100644
--- a/plug-ins/svg/svg-import.c
+++ b/plug-ins/svg/svg-import.c
@@ -433,7 +433,7 @@ apply_style(DiaObject *obj, xmlNodePtr node, DiaSvgStyle *parent_style,
       if (str) {
          DiaMatrix *m = dia_svg_parse_transform ((char *)str, user_scale);
          if (m) {
-           scale = m->xx;
+           transform_length (&scale, m);
            g_free (m);
          }
          xmlFree(str);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]