<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi all,<br></div><div><br></div><div>I'm currently trying to port an application based on OpenSceneGraph 3.4 to its latest release 3.6.3 and I have encountered some problems in the process. I thought that, perhaps, you could give me some hints on how to overcome them, as I'm not familiarized with the OSG code.</div><div><br></div><div>The application I'm trying to port wraps osgText::Text class into a TextLine class. This class considers only the Glyphs in a given line, by installing some iterators pointing to the first and last Glyphs in such line. In order to install those iterators, the application code uses the GlyphQuads::LineNumbers vector in the text->_textureGlyphQuadMap, which used to store the line number for each Glyph.</div><div><br></div><div>However, this information was removed in commit <a href="https://github.com/openscenegraph/OpenSceneGraph/commit/cefecaec103acd1010137216be481dbdcb4e77a9">cefecaec103</a> February last year because it was unused. I've been trying to recompute this information by other means and I've checked the available functions in Text and TextBase, but I'm not really sure about how to do it. My best guess is to use Text::computeLastCharacterOnLine on the line, and take the last character on the previous line + 1 as the first character on the current line. However, I'm really not very sure about that, as I have a very superficial knowledge on what this class is actually doing and how cursors work.</div><div><br></div><div>Any hint on how I could achieve this in the latest release?<br></div><div><br></div><div>Thank you!,</div><div>Ferran<br></div></div></div></div></div>