Maybe, You should try to use another font, for instance you can use the
fonts of your system:
/usr/share/fonts
Here you have a nice fonts:
/usr/share/fonts/truetype/dustin
A example:

osgText::Text *text = new osgText::Text();
text->setFont("/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf");

I hope this help you.

Greetings

2008/1/4, Michele Bosi <[EMAIL PROTECTED]>:
>
> Hello,
> in my application I am using some osgText::Text objects to render some
> short text, but unfortunately is not so easy to read.
> I tried to put an outline and drop shadows using the function
> setBackdropType() but with very poor results.
> I was wondering if there was a way to make OSG draw the background of
> the text with a given color/transparency and eventually if
> one could visualize a frame around the text. I think I saw it done
> somewhere but cannot recall where...
>
> Thanks,
> Michele
> _______________________________________________
> 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