Bug 1897 - The traditional Chinese (zh_TW) UI interface of Libreoffice would show unrecognized squares under KDE
Summary: The traditional Chinese (zh_TW) UI interface of Libreoffice would show unreco...
Status: RESOLVED DUPLICATE of bug 815
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: D Morgan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 11:54 CEST by Franklin Weng
Modified: 2011-10-23 03:36 CEST (History)
2 users (show)

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


Attachments
The unrecognized UI of libreoffice, under KDE 4.6.3 and zh_TW locale (55.11 KB, image/jpeg)
2011-06-23 11:55 CEST, Franklin Weng
Details
UI correct, but the status bar was full of squares... (74.15 KB, image/jpeg)
2011-06-23 11:56 CEST, Franklin Weng
Details

Description Franklin Weng 2011-06-23 11:54:28 CEST
Description of problem:

May be related to Bug#815.  I installed libreoffice from Mageia 1 and run it under KDE 4.6.  My locale is zh_TW.UTF-8.  My libreoffice settings was set to use system fonts.  However I couldn't see correct Chinese characters with the UI, as in the attachment.

After trying, I found that I can see Chinese characters if and only if:
1. libreoffice-kde is installed.
2. I can't use Dejavu Sans as my system fonts under KDE.

I changed my fonts to Droid Sans, UMing, ... etc and the Chinese characters were shown.

However, installing libreoffice-kde means Bug#815 was there.  The UI shows Chinese correctly, but the status bar was all squares.

Version-Release number of selected component (if applicable):
libreoffice-3.3.2
fonts-ttf-dejavu-2.33
kde-4.6.3

How reproducible:
Always

Steps to Reproduce:
1. install libreoffice-langpack-zh_TW and set the locale to zh_TW.UTF-8
2. remove libreoffice-kde
3. *OR* set fonts to Dejavu Sans
Comment 1 Franklin Weng 2011-06-23 11:55:21 CEST
Created attachment 612 [details]
The unrecognized UI of libreoffice, under KDE 4.6.3 and zh_TW locale
Comment 2 Franklin Weng 2011-06-23 11:56:39 CEST
Created attachment 613 [details]
UI correct, but the status bar was full of squares...
Samuel Verschelde 2011-10-01 15:57:14 CEST

CC: (none) => stormi
Assignee: bugsquad => dmorganec
Source RPM: (none) => libreoffice

Comment 3 Christian Lohmaier 2011-10-23 03:36:12 CEST
it is the same problem as the already mentioned bug. 

"DejaVu Sans" as UI font is unsuitable, as it doesn't contain the characters, so it is a fallback problem again. And default fallback is to a bitmap font that only supports fixed sizes.

Don't configure DejaVu Sans as font, but a font that actually contains the characters.

See the duplicate for other ways to workaround the problem

(again the fix is to properly configure the UI font and/or to install proper fontconfig fallbacks)

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

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


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