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




_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to