From dd43e613f0c4209d0f404176d847d4c2547eedcb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 30 Jan 2019 00:58:41 +0000 Subject: oops that went bad on linux, reverting --- OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules/Scripting/VectorRender') diff --git a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs index be2dd95..5a3f359 100644 --- a/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs @@ -128,7 +128,7 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender // XXX: This lock may be unnecessary. lock (m_graph) { - stringSize = m_graph.MeasureString(text, myFont, text.Length, StringFormat.GenericTypographic); + stringSize = m_graph.MeasureString(text, myFont); xSize = stringSize.Width; ySize = stringSize.Height; } -- cgit v1.1