How to set Chinese characters?
- From: "Mullin Yu" <mullin yu softwareag com>
- To: <gtk-list gnome org>
- Subject: How to set Chinese characters?
- Date: Fri, 6 Sep 2002 11:26:26 +0800
Hi,
I searched on the archive, and tried to do the following:
....
....
get_set_locale();
gtk_rc_add_default_file("gtkrc.zh");
gtk_init(...., .....);
....
....
But, I still can't display Chinese characters on the textbox. Only squares
are displayed.
By the way, I am developing the application on Chinese Windows, and not sure
how to set the font on the rc file.
The content of gtkrc.zh is like:
style "default" {
fontset="mingliu.ttf"
}
class "GtkWidget" style "default"
Any ideas on this?
Beside setting the rc file, I found out that we may use get_fontset_load. Is
it true? Any example on this?
Thanks!
Best regards,
Mullin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]