actually add fix for #621

This commit is contained in:
Dane Springmeyer 2010-09-26 11:52:06 +00:00
parent d7740caffc
commit 6ebb182c11

View file

@ -44,7 +44,7 @@ def handle_attr_changes(sym):
# http://code.google.com/p/mapnik-utils/issues/detail?id=32&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary # http://code.google.com/p/mapnik-utils/issues/detail?id=32&colspec=ID%20Type%20Status%20Priority%20Component%20Owner%20Summary
text_transform = sym.attrib.get('text_convert') text_transform = sym.attrib.get('text_convert')
# note: css supports text-transform:capitalize but Mapnik does not (yet) # note: css supports text-transform:capitalize but Mapnik does not (yet)
t_ = {'tolower':'uppercase','toupper':'lowercase','none':'none'} t_ = {'tolower':'lowercase','toupper':'uppercase','none':'none'}
if text_transform: if text_transform:
new = t_.get(text_transform) new = t_.get(text_transform)
if new: if new: