summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0098436)
raw | patch | inline | side by side (parent: 0098436)
author | acspike <acspike@users.sourceforge.net> | |
Sat, 5 Jan 2008 21:15:26 +0000 (21:15 +0000) | ||
committer | acspike <acspike@users.sourceforge.net> | |
Sat, 5 Jan 2008 21:15:26 +0000 (21:15 +0000) |
share/extensions/Barcode/Base.py | patch | blob | history |
index ccfca0093f5929d42b097ad01c452e4183ab138b..866d80e9e32c01f6b2d42c18c6adade674577459 100644 (file)
text.set( 'x', str(int(self.x) + int(barwidth / 2)) )
text.set( 'y', str(int(self.height) + 10 + int(self.y)) )
text.set( 'style', 'font-size:' + self.fontSize() + 'px;text-align:center;text-anchor:middle;' )
- text.set( 'xml:space', 'preserve' )
+ text.set( '{http://www.w3.org/XML/1998/namespace}space', 'preserve' )
text.set( 'id', name + '_bottomtext' )
text.text = str(self.label)