Bug 815 - Some chinese characters in the ui displayed as unreadable squares
Summary: Some chinese characters in the ui displayed as unreadable squares
Status: RESOLVED DUPLICATE of bug 751
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: D Morgan
QA Contact:
URL:
Whiteboard:
Keywords:
: 1897 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-14 04:50 CEST by You-Cheng Hsieh
Modified: 2011-10-23 03:36 CEST (History)
3 users (show)

See Also:
Source RPM: libreoffice-kde
CVE:
Status comment:


Attachments
statusbar of libreoffice (3.95 KB, image/png)
2011-04-14 04:53 CEST, You-Cheng Hsieh
Details
fontsetting in libreoffice (55.40 KB, image/png)
2011-04-14 04:54 CEST, You-Cheng Hsieh
Details

Description You-Cheng Hsieh 2011-04-14 04:50:42 CEST
Description of problem:
Although most of the ui can displayed in (Traditional) Chinese correctly, partial area of gui still display squares and is not readable.

Version-Release number of selected component (if applicable):
3.3.2.2-6mga1

How reproducible:
Start localized libreoffice in zh_TW locale.

Steps to Reproduce:
1.Install libreoffice-langpack-zh-Hant.
2.Set locale to traditional Chinese.
3.Start libreoffice writer.

Screenshots of specific area that has this problem will be attached later.


Reproducible: 

Steps to Reproduce:
Comment 1 You-Cheng Hsieh 2011-04-14 04:53:01 CEST
Created attachment 234 [details]
statusbar of libreoffice

The status bar shows squares after langpack installed. (see attachment for reference.)
Comment 2 You-Cheng Hsieh 2011-04-14 04:54:53 CEST
Created attachment 235 [details]
fontsetting in libreoffice

Partial area of font setting in libreoffice display squares. Note other area can display Traditional Chinese correctly. (see attachemtn pic for reference.)
Comment 3 You-Cheng Hsieh 2011-04-22 05:07:33 CEST
Mandriva's libre office does not have this problem. Is there any patch that could fix this bug?
Comment 4 You-Cheng Hsieh 2011-04-23 05:57:15 CEST
This problem only happens in KDE desktop, not in GNOME.
Comment 5 You-Cheng Hsieh 2011-04-23 07:22:03 CEST
Workaround found: Remove libreoffice-kde.

Hardware: i586 => All

You-Cheng Hsieh 2011-04-23 07:25:07 CEST

Source RPM: libreoffice => libreoffice-3.3.2.2-9.mga1.src.rpm

You-Cheng Hsieh 2011-05-18 03:58:39 CEST

Source RPM: libreoffice-3.3.2.2-9.mga1.src.rpm => libreoffice-3.3.2.2-13.mga1.src.rpm

Comment 6 Ahmad Samir 2011-05-19 04:31:21 CEST
Sorry, this bug has totally fallen under my radar :/

Good catch finding the cause :)
Comment 7 Ahmad Samir 2011-05-19 04:41:22 CEST
Added to the Errata http://www.mageia.org/wiki/doku.php?id=mageia1:errata#libreoffice-kde_issues .
Ahmad Samir 2011-05-19 04:41:43 CEST

Assignee: bugsquad => dmorganec
Source RPM: libreoffice-3.3.2.2-13.mga1.src.rpm => libreoffice-kde

Comment 8 Franklin Weng 2011-06-23 02:54:34 CEST
In my KDE desktop, I have the same problem.  My workaround is: 

* libreoffice-kde must be installed.
* Choose KDE system fonts as "Droid Sans", or "UMing".

Then the Chinese UI can be shown.

CC: (none) => franklin

Comment 9 You-Cheng Hsieh 2011-06-23 03:27:19 CEST
Franklin's case is quite different: he reported (in our local google group) that all Chinese characters in libreoffice UI are squares if libreoffice-kde is not installed. (But I cannot reproduce it.)

I recommend Franklin report a new bug instead. However, since these two problems seem to be conflict, it might be difficult to have both fixed.
Comment 10 Franklin Weng 2011-06-23 07:35:18 CEST
(In reply to comment #9)
> Franklin's case is quite different: he reported (in our local google group)
> that all Chinese characters in libreoffice UI are squares if libreoffice-kde is
> not installed. (But I cannot reproduce it.)
> 
> I recommend Franklin report a new bug instead. However, since these two
> problems seem to be conflict, it might be difficult to have both fixed.


Yes, I found the differences.  In my workaround, the status bar would still be unrecognized squares.
Comment 11 Marja Van Waes 2011-10-08 23:10:16 CEST
Not the same as, but maybe somehow related to bug 751

We're on a newer version of libreoffice now, did that improve anything?

CC: (none) => marja11

Comment 12 Christian Lohmaier 2011-10-23 03:14:40 CEST
It is the same old story with KDE users failing to configure proper UI fonts (i.e. just specifying the alias "Sans") and no proper fallback configuration on the system.

When the kde-integration package is installed, LibreOffice reads the configured font from the system, but the one that is then matched doesn't support all characters.

Solution: Configure a proper chinese font in KDE's font settings (as pointed out by Franklin in comment#8)
Alternate Solution: Tell LibreOffice *not* to use the font that is configured in KDE (same effect regarding the font as if the kde package was not installed)
Tools|Options â LibreOffice â View: uncheck [ ] use system Font for UI display

you probably should visit that dialogpage anyway, at least when you want to keep a bitmap font as UI font. (disable aliasing/increase the fontsize limit for aliasing fonts)

You can also try to adjust the scaling factor to hit a fontsize that is covered by the bitmap font. (but then it is again hard to have proper display in both the menu as well as the dialog).

otherwise: duplicate,

Again:
* it is essential that you configure proper font in KDE, and 
* it is important to have proper fallback definitions in the system (see bug 751)
* bitmap fonts will only be rendered at specific display-sizes. At one size you'll see it, at another size you won't.

*** This bug has been marked as a duplicate of bug 751 ***

Status: NEW => RESOLVED
CC: (none) => lohmaier+mageia
Resolution: (none) => DUPLICATE

Comment 13 Christian Lohmaier 2011-10-23 03:36:12 CEST
*** Bug 1897 has been marked as a duplicate of this bug. ***

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