[osg-users] Please test OpenSceneGraph-3.6 branch in prep for 3.6.1

Robert Osfield robert.osfield at gmail.com
Tue Apr 24 08:54:35 PDT 2018


Hi Dan,

On 23 April 2018 at 20:46, Daniel Emminizer, Code 5773
<dan.emminizer at nrl.navy.mil> wrote:
> I think I found the missing link for my significant text issues.  The problem is much worse with arial.ttf than it is with the default times.ttf.  Instead of seeing a difference of +/- 0.02 units of width, I'm seeing a difference of 3.0 units of width.  The "Long Text String" text shifts left and right constantly.

I tracked this down to the bounding box computation using the average
glyph width into account when accounting for the shadow size, as the
average size changes when you change the text the size of the bb
changed a bit.  The left hand position was also affected by the glyphs
which was also contributing to this issue.

I have checked in changes to address these two issues.

--

I believe that the changes to osgText for bounding box and shaders,
and the CMakeLists.txt support for setting the glContexVersion should
address the issues you've reported.  Could you test out OSG 3.6 branch
and let me know how you get on.

Thanks,
Robert.


More information about the osg-users mailing list