Hello Michele,

> As you might have guessed m lately very much involved in font
> rendering with OSG...
> As you can se from the small image attached I get quite ugly font
> rendering using the default font.
> The font you see drawn comes from a very simple piece of code, that is:

If you set OSG_NOTIFY_LEVEL=DEBUG, do you get messages saying that the  
font Arial.ttf could not be loaded? The default font that  
osgText::Text uses should be Arial. If you have the  
OpenSceneGraph-Data distribution, it's in the fonts/ subdirectory, and  
setting OSG_FILE_PATH to the location of the OpenSceneGraph-Data  
distribution on your machine, it should find it.

If you get an error message that the font cannot be found, check that  
(with the paths). If it's that the file cannot be loaded, it can be  
because your freetype plugin is not compiled properly or something  
else...

Good luck,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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

Reply via email to