# HG changeset patch # User Thinker K.F. Li # Date 1248856513 -28800 # Node ID b5c7670b524b58441c37dd544766d826470b1c6d # Parent 099941c3becf80594e48c48b01f5f8f8a131f4fa Add coord for stext diff -r 099941c3becf -r b5c7670b524b tools/svg2code.py --- a/tools/svg2code.py Wed Jul 29 16:35:03 2009 +0800 +++ b/tools/svg2code.py Wed Jul 29 16:35:13 2009 +0800 @@ -659,6 +659,7 @@ @check_mbname def translate_text(text, coord_id, codefo, doc): + coord_id = translate_shape_transform(text, coord_id, codefo) try: map = text.style_map except: @@ -763,6 +764,7 @@ translate_transform(group_id, transform, codefo, 'COORD_') pass + mock_sn = 0 translate_style(group, group_id, codefo, doc, 'GROUP_') for node in group.childNodes: if node.namespaceURI != svgns: