]> gitweb.michael.orlitzky.com - libsvgtiny.git/blobdiff - svgtiny.c
Fix stroke widths.
[libsvgtiny.git] / 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;
 }