This is a good suggestion.  I've been using osgText a lot lately, and
this change definitely improves the quality in my apps.
--
Terry Welsh  /  mogumbo 'at' gmail.com
www.reallyslick.com  /  www.mogumbo.com


> Message: 3
> Date: Wed, 17 Mar 2010 13:29:43 -0700
> From: Farshid Lashkari <[email protected]>
> To: OpenSceneGraph Users <[email protected]>
> Subject: [osg-users] osgText quality issue
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I'm in the process of porting our application from OSG 1.2 to 2.9. One major
> issue that immediately stood out was the quality of osgText. All the letters
> seem to be cut off by one pixel along the edges. There has been a lot of
> changes since 1.2, but I did find one setting that seemed to fix the issue
> for me.
>
> On line 539 of Font.cpp there is a hard-coded variable called sizeAdjustment
> that is set to 1. In OSG 1.2 this value was set to 0. Changing this value
> back to 0 pretty much resolves the quality issue for me. I've attached a
> screenshot comparing the result of changing the value.
>
> Does anybody else notice these artifacts? Is there a downside to changing
> the sizeAdjustment value back to 0? Any insight is appreciated.
>
> Cheers,
> Farshid
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20100317/d0591de3/attachment-0001.htm>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: osgTextSizeAdjustment.png
> Type: image/png
> Size: 55917 bytes
> Desc: not available
> URL: 
> <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20100317/d0591de3/attachment-0001.png>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to