On Friday 13 May 2011 12:28:37 Robert Osfield wrote:
> Hi Frederic and Magnus,
> 
> On Fri, May 13, 2011 at 9:14 AM, Robert Osfield
> 
> <[email protected]> wrote:
> > 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.
> 
> I have tracked down the problem to fact that osgText now assumes that
> all fonts handle their
> own scaling to a unit font size of 1.0, rather than have each font
> come in at any size and then
> require osgText itself to rescale these.  The freetype plugin honoured
> this, but the txf font didn't
> scale it's glyph settings to be against a unit size.  I have now added
> this and checked it in.  Could
> you please test this out?

Thanks, Robert. Your fix seems to work fine in FlightGear now. Text is now 
rendered at the right size and with suitable spacing between letters again.

I notice a slight kerning issue, but that might very well have been there 
before.

Magnus


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to