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:
@@ -57,7 +57,7 @@ enum KerningType
|
||||
* the file will be searched again in the OS specific directories.
|
||||
*/
|
||||
extern OSGTEXT_EXPORT Font* readFontFile(const std::string& filename);
|
||||
|
||||
extern OSGTEXT_EXPORT std::string findFontFile(const std::string& str);
|
||||
|
||||
/** Pure virtual base class for fonts.
|
||||
* Concrete implementation are the DefaultFont found in src/osgText/DefaultFont.cpp
|
||||
|
||||
Reference in New Issue
Block a user