diff --git a/src/libkomapnik.py b/src/libkomapnik.py index 76306c4..2fec5eb 100644 --- a/src/libkomapnik.py +++ b/src/libkomapnik.py @@ -146,7 +146,7 @@ def xml_textsymbolizer( dy = 0 return """ - [%s] + [%s] """%(face,int(float(size)),color,halo_color,halo_radius,placement,dx,dy,overlap,wrap_width,distance,align,opacity,pos, transform, spacing,text) def xml_shieldsymbolizer(path="", width="", height="", @@ -161,7 +161,7 @@ def xml_shieldsymbolizer(path="", width="", height="", if height: height =' height="%s" '%height return """ - [%s] + [%s] """%(icons_path, \ path, width, height,face,int(float(size)*text_scale),color,halo_color,halo_radius,placement,offset,overlap,wrap_width,distance,align,opacity, transform, unlock_image, spacing,text ) @@ -180,7 +180,7 @@ def xml_start(bgcolor="transparent"): bgcolor = nicecolor(bgcolor) return """ - + """%(bgcolor, map_proj) def xml_end():