Bug 651651 - [kde-l10n] [subpixel] kickoff does not show any Chinese characters in Chinese locales
Summary: [kde-l10n] [subpixel] kickoff does not show any Chinese characters in Chinese...
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cjkuni-fonts
Version: 6.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Peng Wu
QA Contact: QE Internationalization Bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2010-11-10 01:43 UTC by Ding-Yi Chen
Modified: 2013-07-19 00:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-06-20 12:20:05 UTC
Target Upstream Version:

Attachments (Terms of Use)
kickoff for Locale: zh_CN.UTF-8 (33.42 KB, image/png)
2010-11-10 01:43 UTC, Ding-Yi Chen
no flags Details
kickoff for Locale: zh_TW.UTF-8 (36.55 KB, image/png)
2010-11-10 01:44 UTC, Ding-Yi Chen
no flags Details
Japanese locale seems normal (48.17 KB, image/png)
2010-11-10 01:55 UTC, Ding-Yi Chen
no flags Details
My xorg.conf which rotate screen to right. (2.68 KB, application/octet-stream)
2010-11-11 00:50 UTC, Ding-Yi Chen
no flags Details
Proposed fontconf (906 bytes, application/octet-stream)
2013-04-09 07:39 UTC, Peng Wu
no flags Details
Fixed-[zh_CN][zh_TW]KDE-kickoff (88.38 KB, image/png)
2013-06-14 07:56 UTC, Lijun Li
no flags Details

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0962 normal SHIPPED_LIVE cjkuni-fonts bug fix update 2013-06-20 16:19:33 UTC

Description Ding-Yi Chen 2010-11-10 01:43:42 UTC
Created attachment 459296 [details]
kickoff for Locale: zh_CN.UTF-8

Description of problem:
KDE kickoff menu does not show any Chinese characters in Chinese locales (both zh-CN and zh-TW). While jp and kr do not have this problem.

The classical/traditional menu mode acts normally.

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

How reproducible:

Steps to Reproduce:
1. Edit /etc/sysconfig/i18n, and add this line LANG="zh_CN.UTF-8" or LANG="zh_TW.UTF-8"
2. Login using kdm
3. Switch to kickoff menu mode.
4. Invoke kickoff menu.
Actual results:
Chinese characters are not shown. (see attachment)

Expected results:
Chinese characters are shown. 

Additional info:

Comment 1 Ding-Yi Chen 2010-11-10 01:44:25 UTC
Created attachment 459297 [details]
kickoff for Locale: zh_TW.UTF-8

Comment 2 Ding-Yi Chen 2010-11-10 01:55:24 UTC
Created attachment 459298 [details]
Japanese locale seems normal

Comment 5 Ding-Yi Chen 2010-11-11 00:48:47 UTC
I don't think it's fonts missing, as other application and KDE traditional menu can show Chinese properly.

Perhaps that's because my special configuration: screen rotation. 
Previously in fedora-12, it does have refresh problem.
Not quite sure it's relevant, I will investigate more.

Comment 6 Ding-Yi Chen 2010-11-11 00:50:45 UTC
Created attachment 459595 [details]
My xorg.conf which rotate screen to right.

Comment 8 Ding-Yi Chen 2010-11-12 00:09:13 UTC
After a few experiment:
1. It does not seem to be related in xorg.conf
2. If I select a Chinese font in System Setting->Look and Feel -> Appearance -> Font -> General. Yes, it act as expected.
3. I have also tested the font substitution qtconfig-qt4. No, that doesn't work.

Guess it's font substitution's problem, but I am not really sure where to check the "actual" font substitution rules.

Comment 9 Than Ngo 2010-11-12 13:31:50 UTC
it's definitely the font config setting which causes this problem. You can take a look at $HOME/.fonts.conf, this config file contains the rule for font substitution and you also have take a look at /etc/fonts for global setting.

Comment 10 Ding-Yi Chen 2010-11-14 23:58:40 UTC
After another wiped out all the .font* and few more experiment, 
I find out that if I turn off subpixel support, the problem disappear. When turn the subpixel on, the problem occur.

Thus I change the title, and feel free to assign this problem to rightful owner.

F.Y.I: Fedora 14 KDE does not have this problem, perhaps we can back port its improvement from it?

Comment 12 RHEL Program Management 2011-07-05 23:40:24 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support

Comment 13 Jens Petersen 2013-04-02 05:44:16 UTC
and is Fedora ok?

Comment 14 Ding-Yi Chen 2013-04-08 08:13:37 UTC
This problem does not occur on Fedora 14 and later.
I have also tested F19, (kde-l10n-4.10.1-1, kde-l10n-Chinese-Traditional-4.10.1-1
and it went well.

Comment 15 Jens Petersen 2013-04-08 11:55:22 UTC
How about for a new user?

Comment 16 Ding-Yi Chen 2013-04-09 02:15:43 UTC
New users also have same problem.

After further tested, I found that:
1. Font that trigger the bug "Serif", "Sans Serif", "Monospace"
and size need to be between 8 and 12.

Comment 17 Ding-Yi Chen 2013-04-09 03:14:38 UTC
You also need to install cjkuni-uming-fonts to reproduce the problem.

Comment 18 Ding-Yi Chen 2013-04-09 03:30:32 UTC
Installing cjkuni-uming-fonts-0.2.20080216.1-51 from f18 does fix the bug. So I think this can be fix in cjkuni-uming-fonts

Comment 19 Peng Wu 2013-04-09 07:39:54 UTC
Created attachment 733014 [details]
Proposed fontconf

Hi Ding-Yi Chen,
  Thanks very much for the help!
  Please review the new fontconf file.

Comment 20 Ding-Yi Chen 2013-04-11 06:11:46 UTC
(In reply to comment #19)
> Created attachment 733014 [details]
> Proposed fontconf
> Hi Ding-Yi Chen,
>   Thanks very much for the help!
>   Please review the new fontconf file.

The font config works for me.


Comment 22 Lijun Li 2013-06-14 07:53:20 UTC
Verified, it's fixed.
Please see the attached screenshot.

Comment 23 Lijun Li 2013-06-14 07:56:15 UTC
Created attachment 761130 [details]

Comment 26 errata-xmlrpc 2013-06-20 12:20:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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