- Fixes international text not showing up with OpenGL driver
if(pattern) FcPatternDestroy(pattern);
if(matched) FcPatternDestroy(matched);
if(charSet) FcCharSetDestroy(charSet);
if(pattern) FcPatternDestroy(pattern);
if(matched) FcPatternDestroy(matched);
if(charSet) FcCharSetDestroy(charSet);
+#elif defined(__WIN32__) && !defined(ECERE_NOFONTCONFIG)
+ {
+ // Fall back to Arial Unicode MS
+ char fileName[MAX_LOCATION];
+ GetWindowsDirectory(fileName, MAX_LOCATION);
+ PathCat(fileName, "fonts/arialuni.ttf");
+ info = { fileName = CopyString(fileName) };
+ }