diff options
-rwxr-xr-x | tasprite_factory.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tasprite_factory.py b/tasprite_factory.py index 7a0ec96..3416739 100755 --- a/tasprite_factory.py +++ b/tasprite_factory.py @@ -650,11 +650,11 @@ class SVG: self._x = x self._y = y self._check_min_max() - return " %s%.1f%s%s%s%.1f%s%.1f%s%.1f%s%s%s" % ( - "<text style=\"font-size:", size, ":px;fill=", self._stroke, + return " %s%.1f%s%s%s%.1f%s%.1f%s%.1f%s%s%s%s%s" % ( + "<text style=\"font-size:", size, "px;fill:", self._stroke, ";font-family:Sans;\">\n <tspan x=\"", x, "\" y=\"", y, - "\" style=\"font-size:", size, "px\">", string, - "</tspan>\n </text>\n") + "\" style=\"font-size:", size, "px;fill:", self._stroke, "\">", + string, "</tspan>\n </text>\n") def _circle(self, r, cx, cy): return "%s%s%s%s%s%f%s%f%s%f%s" % ("<circle style=\"fill:", |