Hi Robert,

On Sun, May 8, 2011 at 6:37 PM, Robert Osfield wrote:
Curious that osgtext3D is failing.  I wonder if you system is picking
up fonts that don't have support for reading polygonal descriptions of
the fonts.  Or perhaps it's the freetype version.
It might be worth
checking what fonts you are using, perhaps these are returning
incorrect kerning information.

Yes, it's the font which makes the difference! We're using txf font files - not freetype. None of our txf fonts works with >=r12068. Maybe our files are broken somehow, and don't supply the required kerning info. But I suspect that it's rather the TXFFont plugin itself which requires an update. The freetype plugin was adapted as part of changeset 12068, but TXFFont wasn't touched since. For example, TXFFont::getKerning just returns (0,0). And it never calls any of the new Glyph::setWidth/setHeight methods. I guess that's the likely cause?

cheers,
Thorsten

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

Reply via email to