Hi Magnus, On Fri, May 13, 2011 at 5:16 PM, Magnus Kessler <[email protected]> wrote: > Thanks, Robert. Your fix seems to work fine in FlightGear now. Text is now > rendered at the right size and with suitable spacing between letters again.
Good to hear it working once more. I still haven't tracked down the bugs I'm seeing on rendering using txf with the osgtext example, so there is chance that you might see problems later with more intensive use. I'm still hunting this bug down so fingers crossed I'll nail it soon. > I notice a slight kerning issue, but that might very well have been there > before. txf itself doesn't seem to support kerning, with the plugin just returning a 0,0 offset for kerning, both older and newer versions use this same default kerning value. However, the code to advance between characters is a little changed, the old code add an arbitary extra 0.1 of height to the advance. I didn't maintain this as it rather looked like a hack. I can add this add back in if you feel that it would be better to maintain the extact spacing before, even if it doesn't actually match what the font itself specifies. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

