Return the correct encoding for X font spec construction

under Japanese locale.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2005-07-30 17:26:06 +00:00
parent 9d02485ed9
commit d946915c20

View 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("*");