Red Hat Bugzilla – Bug 83899
message display broken
Last modified: 2007-04-18 12:50:57 EDT
Description of problem:
The message headers are all invisible.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Read a message.
Worked in 1.2.1-x.
Downgrade to gtkhtml 1.1.8-1 and everything is fine. I've marked 1.1.8-2 as
failed in the build system for now since it seems to be it which is breaking things.
*** Bug 83918 has been marked as a duplicate of this bug. ***
I rebuilt gtkhtml-1.1.8-2 without the gtkhtml-1.1.7-fixfont.patch enabled. This
fixed all the font problems I have seen.
Probably it's fontset issue... so if you change the font to the appropriate font
on the font configuration, this problem is fixed, right?
I'll make 1.1.8-3 without fontset as default font.
should be fixed in 1.1.8-3. Please verify it.
Works for me. Thanks.
gtkhtml uses incorrect default fontset not only for CJK, but for other locales
too . It can be discovered in following way:
1. find this line in gtkhtml-properties.c:
/* printf ("default encoding %s-%s\n%s\n%s\n", enc1, enc2, *var_name, *fix_name); */
and uncomment it.
2. rebuild and install the library.
3. run gtkhtml-properties-capplet in ru_RU.KOI8-R locale from xterm
You'll see that encoding is ISO8859-1 while it must be ISO10646-1 for ru_RU.UTF-8.
It was tested on 1.1.8-3.
I added more printfs and found that wrong font name came directly from this line:
font_name = get_font_name (style->font);
I tried to disable this block of code (replaced "if (font_name)" with "if (0)"
and added lines to spec file to call iso10646-1 font from ru.po like it was done
from CJK, and gtkhtml start to work by default. But it's a hack.
patch and spec file will be attached
Sorry, step 3 must be
3. run gtkhtml-properties-capplet in ru_RU.UTF-8 locale from xterm
Created attachment 89998 [details]
This patch disable broken code
Created attachment 90002 [details]
This patch for spec file fixes Russian and Ukrainian
There are also many other locales that should be fixed in the same way. Better
fix the root cause (broken function) than patch .po file for every affected locale.
Hmm, could your evolution show the translated menu on UTF-8 locale? ru.po for
gtkhtml and evolution was encoded KOI8-R. even if gtkhtml can handles iso10646-1
encoding properly, I think you will see another problem.
On ru_RU.UTF-8 locale, no showing the translated menu on evolution is only me?
Both gtkhtml and evolution translations already were in UTF-8 in evolution-1.0.8
and everything were OK, but these new translations were not commited to 1.2
branch. I updated russian translation for evolution-1.2.x and gtkhtml and they
were commited to gnome cvs by gnome-russian coordinator few days ago (I have no
acces for gnome cvs). I recompiled gtkhtml and evolution-1.2.2 with new utf
translations and verified that it's OK. If you can pick it up from there it
would be great.
Created attachment 90082 [details]
Underlines under icons are result of KOI8-R translation.
UTF-8 translation from cvs fix this problem
*** This bug has been marked as a duplicate of 84593 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.