[osg-users] setFont

2010-06-29 Thread Gianni Ambrosio
Hi All, I looked at the OSG examples in vain to understand how to load a font properly. OSG examples work fine if started from my dev environment (VS) but setFont(fonts/blablabla.ttf) does not work if I run my app normally double clicking on the .exe file. The osgtext example have the same

Re: [osg-users] setFont

2010-06-29 Thread Alberto Luaces
Gianni Ambrosio writes: Is there a way in OSG to load fonts without copying the ttf file in the exe dir or set the file in the resources? Setting the environment variable OSG_FILE_PATH. -- Alberto ___ osg-users mailing list

Re: [osg-users] setFont

2010-06-29 Thread Jean-Sébastien Guay
Hello Gianni, I looked at the OSG examples in vain to understand how to load a font properly. OSG examples work fine if started from my dev environment (VS) but setFont(fonts/blablabla.ttf) does not work if I run my app normally double clicking on the .exe file. The osgtext example have the

Re: [osg-users] setFont

2010-06-29 Thread Gianni Ambrosio
OK, so there isn't a special way to handle fonts in OSG. Thanks, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29491#29491 ___ osg-users mailing list osg-users@lists.openscenegraph.org