[dia] svg: comment on ignored <defs/>



commit f5f07f10ba102077fcb5e88913037ab3aa589544
Author: Hans Breuer <hans breuer org>
Date:   Sun Jul 28 16:00:55 2013 +0200

    svg: comment on ignored <defs/>
    
    Commonly seen in <defs/> are
      clipPath, font, filter, linearGradient, mask, marker, pattern, radialGradient, style
    all not supported as of this writing.
    Less commonly used are normal objects which could be supported here.

 plug-ins/svg/svg-import.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/svg/svg-import.c b/plug-ins/svg/svg-import.c
index 96f23c5..ea03bc0 100644
--- a/plug-ins/svg/svg-import.c
+++ b/plug-ins/svg/svg-import.c
@@ -1167,6 +1167,11 @@ read_items (xmlNodePtr   startnode,
       /* everything below must have a name to make a difference */
       GList *list, *defs = read_items (node->xmlChildrenNode, parent_gs, defs_ht, filename_svg, ctx);
 
+      /* Commonly seen in <defs/> are
+       *   clipPath, font, filter, linearGradient, mask, marker, pattern, radialGradient, style
+       * all not supported as of this writing.
+       * Less commonly used are normal objects which could be supported here.
+       */
       for (list = defs; list != NULL; list = g_list_next (list)) {
 #if 0
        DiaObject *otemp = list->data;


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