From Farshid Lashkari, "I need the ability to check for a font file without actually loading
the font object. I've modified font.h/cpp of osgText so that it exports the findFontFile function."
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
using namespace osgText;
|
||||
using namespace std;
|
||||
|
||||
std::string findFontFile(const std::string& str)
|
||||
std::string osgText::findFontFile(const std::string& str)
|
||||
{
|
||||
// try looking in OSGFILEPATH etc first for fonts.
|
||||
std::string filename = osgDB::findDataFile(str);
|
||||
|
||||
Reference in New Issue
Block a user