Hi, On Wednesday 17 March 2010, Farshid Lashkari wrote: > 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. Yes, I was coding around that in the QFont implementation by an own margin that appeared to fix that problem. That left the original reason on the todo list ... Glad to see that we know where this happens.
Greetings Mathias -- Dr. Mathias Fröhlich, science + computing ag, Software Solutions Hagellocher Weg 71-75, D-72070 Tuebingen, Germany Phone: +49 7071 9457-268, Fax: +49 7071 9457-511 -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Michel Lepert Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

