[librsvg] rsvg-marker: Use the correct default marker size as specified in the spec



commit 0e2c78cb95a72e7378638a6bb6b647e5c7a7c8c1
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jan 7 17:24:42 2016 -0600

    rsvg-marker: Use the correct default marker size as specified in the spec
    
    The spec uses 3 as the default markerWidth and markerHeight:
    http://www.w3.org/TR/SVG/painting.html#MarkerWidthAttribute

 rsvg-marker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rsvg-marker.c b/rsvg-marker.c
index 6b52bc9..fed255d 100644
--- a/rsvg-marker.c
+++ b/rsvg-marker.c
@@ -92,7 +92,7 @@ rsvg_new_marker (void)
     marker->orientAuto = FALSE;
     marker->preserve_aspect_ratio = RSVG_ASPECT_RATIO_XMID_YMID;
     marker->refX = marker->refY = _rsvg_css_parse_length ("0");
-    marker->width = marker->height = _rsvg_css_parse_length ("1");
+    marker->width = marker->height = _rsvg_css_parse_length ("3");
     marker->bbox = TRUE;
     marker->vbox.active = FALSE;
     marker->super.set_atts = rsvg_node_marker_set_atts;


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