Mercurial > MadButterfly
diff examples/calculator/calculator_scr.svg @ 279:86a5ae82ccf2 mbtext
* Modify svg2code_ex to use differnt font size at two test items to illustrate the function of the new text parser
* Generate seperate text segments if the x is defined in the tspan. With this settings, we may be able to implement the text alignment already.
* Be warnned that the text element may not be generated at all. We may need to convert the text element into a group for this situation. Currently, we leave it as it is.
author | wycc |
---|---|
date | Sat, 31 Jan 2009 11:51:19 +0800 |
parents | a90fd749af82 |
children | 2212f515584c |
line wrap: on
line diff
--- a/examples/calculator/calculator_scr.svg Sat Jan 31 09:41:04 2009 +0800 +++ b/examples/calculator/calculator_scr.svg Sat Jan 31 11:51:19 2009 +0800 @@ -509,9 +509,9 @@ style="font-size:28px;font-style:normal;font-weight:normal;fill:#008000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" x="36.939316" y="61.546173" - id="screen_text_u"><tspan + id="screen_text"><tspan sodipodi:role="line" - id="screen_text" + id="screen_text_u" x="36.939316" y="61.546173">0</tspan></text> <text @@ -519,9 +519,9 @@ style="font-size:14px;font-style:normal;font-weight:normal;fill:#008000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans Mono" x="71.767807" y="78.100266" - id="saved_text"><tspan + id="2222"><tspan sodipodi:role="line" - id="t2222" + id="saved_text" x="71.767807" y="78.100266">None</tspan></text> </g>