author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月24日 18:20:21 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年01月30日 21:26:02 +0100 |
commit | cba327706ed34d8c3166a748a3114d5a9ddc10b0 (patch) | |
tree | 8f8d0970633d67b7a3b839f047cd47ccc3793187 /agg-plot/text.cpp | |
parent | 336b7b2386f8021a3dc569addf2e2876b10d711b (diff) | |
download | gsl-shell-cba327706ed34d8c3166a748a3114d5a9ddc10b0.tar.gz |
-rw-r--r-- | agg-plot/text.cpp | 4 |
diff --git a/agg-plot/text.cpp b/agg-plot/text.cpp index df04cd34..b23d2218 100644 --- a/agg-plot/text.cpp +++ b/agg-plot/text.cpp @@ -83,10 +83,10 @@ namespace draw { const char* cont = m_text_buf.cstr(); str txt = str::print("<text x=\"%g\" y=\"%g\" id=\"text%i\"" \ " style=\"font-size:%i%s\">" \ - " <tspan x=\"%g\" y=\"%g\" id=\"tspan%i\">%s</tspan>" \ + " <tspan id=\"tspan%i\">%s</tspan>" \ "</text>", x_svg, y_svg, id, txt_size, style.cstr(), - x_svg, y_svg, id, cont); + id, cont); if (need_rotate) { s = str::print("<g transform=\"matrix(%g,%g,%g,%g,%g,%g)\">%s</g>", |