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
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
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
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
4 matches
Mail list logo