Good day!

Could you pls consider a change to text3D implementation:
In case of VERTICAL layout we use linelength variable but never increase its 
value during charcode iterations.
What I suggest:


Code:
diff --git a/3rdparty/osg/OpenSceneGraph/src/osgText/Text3D.cpp 
b/3rdparty/osg/OpenSceneGraph/src/osgText/Text3D.cpp
index a4ae866..e7c2108 100644
--- a/3rdparty/osg/OpenSceneGraph/src/osgText/Text3D.cpp
+++ b/3rdparty/osg/OpenSceneGraph/src/osgText/Text3D.cpp
@@ -362,6 +362,7 @@ void Text3D::computeGlyphRepresentation()
previous_charcode = charcode;
}
+linelength++;
}
}
else





Modified Text3D.cpp attached.

Cheers,
Mihail

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47323#47323




Attachments: 
http://forum.openscenegraph.org//files/text3d_438.cpp


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to