gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot')
-rw-r--r--agg-plot/text.cpp 4
1 files changed, 2 insertions, 2 deletions
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>",
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月26日 00:10:17 +0000

AltStyle によって変換されたページ (->オリジナル) /