<div dir="ltr"><div><div class="gmail_signature"><div dir="ltr"><div>Robert,</div><div><br></div><div>I'm using osgText with setCharacterSizeMode(SCREEN_COORDS). The vertical size of the text is always correct, but the horizontal size changes with the aspect ratio of the viewport.</div><div><br></div><div>This is easy to reproduce with the "osgtext" example. Just run the example and resize the window so that it has a high x/y aspect ratio (say 10x as wide as it is high). You can see the pink SCREEN_COORDS text in the center become squished.</div><div><br></div><div>I believe the problem is here:</div><div><br></div><div><a href="https://github.com/openscenegraph/osg/blob/master/src/osgText/Text.cpp#L688">https://github.com/openscenegraph/osg/blob/master/src/osgText/Text.cpp#L688</a><br></div><div><br></div><div>For SCREEN_COORDS, I believe that a single scale factor for both vertical and horizontal makes sense. (If I change both scale factors to useĀ "pixelSizeVert" the problem goes away).</div><div><br></div><div>If this makes sense, I can file a submission. Thanks.</div><div><br></div><div>Glenn Waldron</div></div></div></div>
</div>