diff --git a/src/osgText/Font.cpp b/src/osgText/Font.cpp index 05c468b85..bc7cf3bc3 100644 --- a/src/osgText/Font.cpp +++ b/src/osgText/Font.cpp @@ -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(