Re: A bug of gtk i18n?



On 4/1/07, Kun Niu <haoniukun gmail com> wrote:
But the label on the button showed two squares.
The title and the label were the same.
And my code is like this:

 gtk_window_set_title (GTK_WINDOW(window), _("您好"));
  button = gtk_button_new_with_label (_("您好"));

Hi,

These square unicode boxes mean that you are missing the font for your
language. Copy a suitable font to /usr/share/fonts and run fc-cache as
root & restart your app. This should solve your problem :)

regards,
makuchaku
http://www.makuchaku.info/blog


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]