Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 83899
Summary: | message display broken | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Tim Waugh <twaugh> | ||||||||
Component: | gtkhtml | Assignee: | Akira TAGOH <tagoh> | ||||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 1.0 | CC: | hp, katzj, leon, pzbowen+rhbeta | ||||||||
Target Milestone: | --- | Keywords: | Triaged | ||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2006-02-21 18:51:40 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 79578 | ||||||||||
Attachments: |
|
Description
Tim Waugh
2003-02-09 20:23:09 UTC
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. |