Hi Frederic,

I've just modified the osgtext example to use the Helvetica.txf and
see the problem with oversized text..  The text has the right spacing,
but is just too large...  I didn't spot the size problem yesterday as
the osgtext3D usage had the viewer moving the eye point back to view
the whole text so what ever size it was in object coordianates it only
took up the same size on screen.

Not sure where the culprit lies, it might be lack of scaling on the
osgText side, or perhaps just needing to rescale the sizes in txf.  I
will  dig into the code and see what is going on.

Robert.

On Fri, May 13, 2011 at 8:19 AM, Frederic Bouvier <[email protected]> wrote:
> Hi Robert & Thorsten,
>
> I simply merged r12395 in my 2.9.14 branch and got this :
> http://frbouvi.free.fr/flightsim/fgfs-txf-fonts.jpg
>
> oversized font!
>
> Regards,
> -Fred
>
>
> ----- "Robert Osfield" a écrit :
>
>> Hi Thorsten,
>>
>> I have tracked down the problem to the txf plugin not setting the
>> width and height of the glyph, adding this addressed the
>> sizing/spacing problems I saw when running the osgtext3D --2d --no-3d
>> -f Helvetica.txf test.  My fix is now checked into svn/trunk.
>>
>> Could you please test svn/trunk and let me know whether this
>> addresses the problems you've been seeing.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to