diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/VectorRender/VectorRenderModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
128 | // XXX: This lock may be unnecessary. | 128 | // XXX: This lock may be unnecessary. |
129 | lock (m_graph) | 129 | lock (m_graph) |
130 | { | 130 | { |
131 | stringSize = m_graph.MeasureString(text, myFont, text.Length, StringFormat.GenericTypographic); | 131 | stringSize = m_graph.MeasureString(text, myFont); |
132 | xSize = stringSize.Width; | 132 | xSize = stringSize.Width; |
133 | ySize = stringSize.Height; | 133 | ySize = stringSize.Height; |
134 | } | 134 | } |