35 filePath =
"C:\\Windows\\Fonts\\";
36 fontName =
type ==
English ?
"REFSAN.ttf":
"msgothic.ttc";
38 #if defined(_APPLE_) && defined(_MACH_)
39 string fName =
type ==
English ?
"/Library/Fonts/msgothic.ttc" :
"C:\\Windows\\Fonts\\msgothic.ttc";
41 #if defined(linux) || defined(__linux)
48 string fName =
type ==
English ?
"C:\\Windows\\Fonts\\msgothic.ttc" :
"C:\\Windows\\Fonts\\msgothic.ttc";
51 fontFile = filePath.append(fontName);
55 cerr <<
"TTF_OpenFont() Failed: " << TTF_GetError() << endl;