From 66988c8e83094758e55282c51f45a01933bcc0c9 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Tue, 6 Dec 2011 22:26:34 +0100 Subject: Add support to write plot objects in SVG format --- agg-plot/lua-text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agg-plot/lua-text.cpp') 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; } -- cgit v1.2.3

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