Bug 446586 - OpenOffice.org 2.4 failure to display any Chinese character
Summary: OpenOffice.org 2.4 failure to display any Chinese character
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: 9
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-15 08:49 UTC by Cong Ma
Modified: 2008-06-16 11:42 UTC (History)
1 user (show)

Fixed In Version: 2.4.1
Clone Of:
Environment:
Last Closed: 2008-06-16 11:42:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot of the problem with Writer. Compare: the Firefox window with Chinese menu behind, which is displayed correctly. (93.67 KB, image/png)
2008-05-15 08:49 UTC, Cong Ma
no flags Details
Same problem, with GNOME as DE (97.81 KB, image/png)
2008-05-15 10:44 UTC, Cong Ma
no flags Details
looks ok for me (39.18 KB, image/png)
2008-05-21 07:47 UTC, Caolan McNamara
no flags Details

Description Cong Ma 2008-05-15 08:49:47 UTC
Description of problem:
The OpenOffice suite shipped with Fedora 9 is not rendering Chinese characters
in their GUIs. Chinese text can be written to the file being operated, but all
menus, toolbars and status bars display Chinese characters as blank field.


Version-Release number of selected component (if applicable):
openoffice.org-graphicfilter-2.4.0-12.8.fc9.i386
openoffice.org-draw-2.4.0-12.8.fc9.i386
openoffice.org-calc-2.4.0-12.8.fc9.i386
openoffice.org-extendedPDF-1.4-4.fc9.noarch
openoffice.org-writer2latex-0.5-2.fc9.i386
openoffice.org-writer-2.4.0-12.8.fc9.i386
openoffice.org-math-2.4.0-12.8.fc9.i386
openoffice.org-langpack-zh_CN-2.4.0-12.8.fc9.i386
openoffice.org-xsltfilter-2.4.0-12.8.fc9.i386
openoffice.org-impress-2.4.0-12.8.fc9.i386
openoffice.org-langpack-en-2.4.0-12.8.fc9.i386
openoffice.org-core-2.4.0-12.8.fc9.i386


How reproducible:
Always, if using zh_CN.utf-8 locale


Steps to Reproduce:
1. Login X11 with Chinese locale
2. Start any OpenOffice component

  
Actual results:
Completely garbled GUI --- Missing text, only white fields holding the space
where Chinese characters are supposed to be.


Expected results:
The GUI should display correctly.


Additional info:
This happened after I installed the
openoffice.org-langpack-zh_CN-2.4.0-12.8.fc9.i386 package. Without this package
the UI is in English, which is still usable. AFAIK the OOo version in Fedora 8
was not affected.

Comment 1 Cong Ma 2008-05-15 08:49:47 UTC
Created attachment 305454 [details]
Screenshot of the problem with Writer. Compare: the Firefox window with Chinese menu behind, which is displayed correctly.

Comment 2 Cong Ma 2008-05-15 10:44:17 UTC
Created attachment 305464 [details]
Same problem, with GNOME as DE

The bug is reproducible with both XFCE4 and GNOME. The first screenshot is
taken from XFCE4, and this new one is from GNOME. In the uppermost window, the
four characters beside the little flags icon are correctly rendered (they stand
for "Language Settings" in Chinese), but as you can see, everything else is
replaced by random pixels.

I confirmed my OO.o setting is no problem. I ran oowriter with environ.
variable LC_ALL=C and settled the Language Setting part. As soon as the locale
variable is set to my Chinese locale the problem is reproduced. I even tried
deleting my whole ~/.openoffice2.0 directory but the issue remained.

Comment 3 Caolan McNamara 2008-05-21 07:47:47 UTC
Created attachment 306221 [details]
looks ok for me

Comment 4 Caolan McNamara 2008-05-21 07:51:07 UTC
This works ok for me as shown above so...

a) what's selected in system->preferences->look and feel->appearance->fonts for
appearance ?
b) what font is shown under that dialogs "application font", and what is the
output of fc-match "that font name", e.g. fc-match "Sans"
c) does it make a difference to use export SAL_DISABLE_CAIROTEXT=1 ?
d) and for reference what is your video driver, i.e. output of 
grep drivers /var/log/Xorg.0.log

Comment 5 Cong Ma 2008-05-22 01:31:33 UTC
The font is "DejaVu Sans" (DejaVuSans.ttf: "DejaVu Sans" "Book"). I tried some
CJK fonts (uming)

The video driver is /usr/lib/xorg/modules/drivers/radeon_drv.so.

It DOES make this problem disappear if the environment variable
SAL_DISABLE_CAIROTEXT=1 is exported.

Comment 6 Caolan McNamara 2008-05-22 06:59:17 UTC
Hmm, what's the setting for (under gnome) system->preferences->look and
feel->appearance->fonts->rendering 

Is it "monochrome" ? Does it make a difference to try another setting e.g. "best
shapes"

Comment 7 Caolan McNamara 2008-05-24 13:48:37 UTC
So is the font setting "monochrome" and does it ake a difference to try e.g.
"best shapes" ?

Comment 8 Caolan McNamara 2008-06-16 11:42:19 UTC
I'm going to go out here on a limb and claim that its fixed in 2.4.1 as in
latest fedora 9 update. If this is not true, then feel free to reopen


Note You need to log in before you can comment on or make changes to this bug.