From Hartwig Wiesmann, fix to font search path under OSX.
This commit is contained in:
parent
553d860d48
commit
1d7222f59f
@ -75,6 +75,10 @@ std::string osgText::findFontFile(const std::string& str)
|
||||
winFontPath += "\\fonts";
|
||||
s_FontFilePath.push_back(winFontPath);
|
||||
}
|
||||
#elif defined(__APPLE__)
|
||||
osgDB::convertStringPathIntoFilePathList(
|
||||
".:/usr/share/fonts/ttf:/usr/share/fonts/ttf/western:/usr/share/fonts/ttf/decoratives:/Library/Fonts:/System/Library/Fonts",
|
||||
s_FontFilePath);
|
||||
#else
|
||||
osgDB::convertStringPathIntoFilePathList(
|
||||
".:/usr/share/fonts/ttf:/usr/share/fonts/ttf/western:/usr/share/fonts/ttf/decoratives",
|
||||
|
Loading…
Reference in New Issue
Block a user