Commit ac23a763 authored by Hiroyuki Ikezoe's avatar Hiroyuki Ikezoe

Do not draw 0 sized shape.

Fix for bug #614730.
parent 91c66dc2
......@@ -338,6 +338,9 @@ _rsvg_node_rect_draw (RsvgNode * self, RsvgDrawingCtx * ctx, int dominate)
rx = _rsvg_css_normalize_length (&rect->rx, ctx, 'h');
ry = _rsvg_css_normalize_length (&rect->ry, ctx, 'v');
if (w == 0. || h == 0.)
return;
if (rect->got_rx)
rx = rx;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment