From Farshid Lashkari, append "\fonts" to end of windows font search path.

This commit is contained in:
Robert Osfield
2005-09-11 19:08:41 +00:00
parent e2361865fc
commit 141f8a70d7

View File

@@ -46,7 +46,9 @@ std::string findFontFile(const std::string& str)
char *ptr;
if ((ptr = getenv( "windir" )))
{
s_FontFilePath.push_back(ptr);
std::string winFontPath = ptr;
winFontPath += "\\fonts";
s_FontFilePath.push_back(winFontPath);
}
#else
osgDB::convertStringPathIntoFilePathList(