gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/lua-text.cpp')
-rw-r--r--agg-plot/lua-text.cpp 2
1 files changed, 1 insertions, 1 deletions
diff --git a/agg-plot/lua-text.cpp b/agg-plot/lua-text.cpp
index 065211a7..91a606bc 100644
--- a/agg-plot/lua-text.cpp
+++ b/agg-plot/lua-text.cpp
@@ -66,7 +66,7 @@ int
agg_text_new (lua_State *L)
{
double size = luaL_optnumber (L, 1, 10.0);
- double width = luaL_optnumber (L, 2, 1.0);
+ double width = luaL_optnumber (L, 2, 1.0) + 0.7;
new(L, GS_DRAW_TEXT) draw::text(size, width);
return 1;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月16日 09:35:23 +0000

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