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:
@@ -759,6 +759,12 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case wxFONTENCODING_EUC_JP:
|
||||||
|
case wxFONTENCODING_SHIFT_JIS:
|
||||||
|
info->xregistry = "jis*";
|
||||||
|
info->xencoding = "*";
|
||||||
|
break;
|
||||||
|
|
||||||
case wxFONTENCODING_SYSTEM:
|
case wxFONTENCODING_SYSTEM:
|
||||||
info->xregistry =
|
info->xregistry =
|
||||||
info->xencoding = wxT("*");
|
info->xencoding = wxT("*");
|
||||||
|
Reference in New Issue
Block a user