projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d02485
)
Return the correct encoding for X font spec construction
author
Mattia Barbon
<mbarbon@cpan.org>
Sat, 30 Jul 2005 17:26:06 +0000
(17:26 +0000)
committer
Mattia Barbon
<mbarbon@cpan.org>
Sat, 30 Jul 2005 17:26:06 +0000
(17:26 +0000)
under Japanese locale.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35026
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/unix/fontutil.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/unix/fontutil.cpp
b/src/unix/fontutil.cpp
index 758226308b56ea1d3865413316cb773357f0e474..2a7ad2ea3c00198f5a66013d7c8a2382300dad66 100644
(file)
--- a/
src/unix/fontutil.cpp
+++ b/
src/unix/fontutil.cpp
@@
-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("*");