Hi Robert,
> GlyphTexture isn't pre-allocated, it's allocated on demand so if a > Glyph is added to the GlyphTexture is will be used, there shouldn't be > any unused GlyphTexture. To avoid using multiple GlyphTexture you can > hint to use larger GlyphTexture. see Font::setTextureSizeHint(..) > method: > yes you are right: it is allocated on demand, BUT when you setText again and again always containing new glyphs(e.g within traditional chinese language) the new glyphs will ALWAYS be added to the glyphTexture, isn't it? When this is true the glyphTexture will contain "unused" glyphs, and so a new glyphTexture will be generated when the current one is full?!? So thats the reason for removing unused glyphs best regards Dirk ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52606#52606 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

