Thank you Robert and Jean, fortunately could figure out what the problem was using the god blessed OSG_NOTIFY_LEVEL=DEBUG :)
In fact it seemed that the plugin could be found and used but then OSG failed to load it. This was because of course the plugin depends on the freetype DLL library itself which wasn't in the path so I just had to add it to the path and woila', fonts are loading and text is beautiful :) Thanks again, M. On Jan 7, 2008 3:34 PM, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

