-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-03-17 19:42, Yanling Liu wrote: > Hello, > > When using the osgSim::ScalarBar on a linux machine, I keep getting > warning messages like "Warning: font file "fonts/arial.ttf" not found." > Is there a way to turn off such warning message? After all > "fonts/arial.ttf" may only be valid on windows. > > Yanling >
Actually the most common reason for this is that it cannot find the file "fonts/arial.ttf" in the current directory and you do not have the OSG_FILE_PATH environment variable set neither. Either make the "fonts" subdirectory in your current directory and put the font there install the OpenSceneGraph data archive and point the OSG_FILE_PATH environment variable to the directory with it. Regards, Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLondPn11XseNj94gRAqeQAKDdTCUtfgErOpu7UbFOmFZk4mftwQCfZsNY nW8bt9qYa4GlTPbimkL5lho= =DoK4 -----END PGP SIGNATURE----- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

