font hardcoded

Kent Tong kent at cpttm.org.mo
Fri May 20 05:11:31 EDT 2005


Hi,

I notice that Chinese can't be displayed at various places in gnucash. After
investigation, I found that it is because the use of a helvetica font is
hardcoded in gnc-dense-cal.c and gnucash-style.c and they call gdk_font_load()
to load the font.

This is apparently not a way suitable for i18n. However, I have absolutely
no experience with GTK (and pango), I don't know how to fix this problem.
Would you please give me your suggestion, ie, what is the right way to
do it?

Thanks!




More information about the gnucash-devel mailing list