]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
[ 1222406 ] Fix for BadMatch X errors with wxGLCanvas under wxGTK - Nathan Cournia.
[wxWidgets.git] / src / unix / fontutil.cpp
index 758226308b56ea1d3865413316cb773357f0e474..2a7ad2ea3c00198f5a66013d7c8a2382300dad66 100644 (file)
@@ -759,6 +759,12 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
             }
             break;
 
+        case wxFONTENCODING_EUC_JP:
+        case wxFONTENCODING_SHIFT_JIS:
+            info->xregistry = "jis*";
+            info->xencoding = "*";
+            break;
+
         case wxFONTENCODING_SYSTEM:
             info->xregistry =
             info->xencoding = wxT("*");