fixed advanced text placement

This commit is contained in:
Komzpa 2011-09-16 00:37:23 +03:00
parent fae644ec72
commit a6a21c9dfc

View file

@ -124,7 +124,7 @@ def xml_textsymbolizer(text="name",face="DejaVu Sans Book",size="10",color="#000
color = nicecolor(color)
halo_color = nicecolor(halo_color)
pos = pos.replace("exact", "X").replace("any","S, E, X, N, W, NE, SE, NW, SW").split(",")
pos.extend(size.split(","))
pos.extend([int(x) for x in size.split(",")])
pos = ",".join(pos)
size = size.split(",")[0]