attempt to see if eariler init helps on macosx

This commit is contained in:
Mark Vejvoda
2011-11-01 20:07:18 +00:00
parent 279ef96fd1
commit e15d9cab5d
3 changed files with 50 additions and 22 deletions

View File

@@ -40,6 +40,7 @@ int TextFTGL::faceResolution = 72;
//====================================================================
TextFTGL::TextFTGL(FontTextHandlerType type) : Text(type) {
//throw runtime_error("FTGL!");
//setenv("MEGAGLEST_FONT","/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc",0);
//setenv("MEGAGLEST_FONT","/usr/share/fonts/truetype/arphic/uming.ttc",0); // Chinese
//setenv("MEGAGLEST_FONT","/usr/share/fonts/truetype/arphic/ukai.ttc",0); // Chinese