fixing dashes with fast rasterizer

This commit is contained in:
Komzpa 2011-09-16 01:14:17 +03:00
parent e7e2097acf
commit ab3fa4c3ac

View file

@ -90,7 +90,7 @@ def xml_linesymbolizer(color="#000000", width="1", opacity="1", linecap="butt",
if dashes:
dashes = '<CssParameter name="stroke-dasharray">%s</CssParameter>'%(dashes)
rasterizer = ""
if float(width) < 2:
if float(width) < 4 and not dashes:
rasterizer = ' rasterizer="fast"'