]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
Fix stroke widths.
authorJames Bursa <james@netsurf-browser.org>
Sun, 4 May 2008 00:24:50 +0000 (00:24 -0000)
committerJames Bursa <james@netsurf-browser.org>
Sun, 4 May 2008 00:24:50 +0000 (00:24 -0000)
svn path=/trunk/libsvgtiny/; revision=4121

svgtiny.c

index 10635ac933020e894a7507eb2d2b42ed0508610c..ab6b6dd5ea30f282320fa33bcccd5fff437a5be3 100644 (file)
--- a/svgtiny.c
+++ b/svgtiny.c
@@ -1014,8 +1014,8 @@ struct svgtiny_shape *svgtiny_add_shape(struct svgtiny_parse_state *state)
        shape->text = 0;
        shape->fill = state->fill;
        shape->stroke = state->stroke;
-       shape->stroke_width = 1; /*state->stroke_width *
-                       (state->ctm.a + state->ctm.d) / 2;*/
+       shape->stroke_width = state->stroke_width *
+                       (state->ctm.a + state->ctm.d) / 2;
 
        return shape;
 }