Bug 682650 - [AR PL UMing] Character cannot be properly displayed when encounter U+4190 in size 10.
Summary: [AR PL UMing] Character cannot be properly displayed when encounter U+4190 in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cjkuni-fonts
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Peng Wu
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-07 06:07 UTC by Kenichi Takemura
Modified: 2014-08-04 22:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Prior to this update, when viewing the U+4190 CJK character with the AR PL UMing font and the font size 10, this character was not displayed properly. This bug has been corrected in this update so that the character is now correctly displayed as expected.
Clone Of:
Environment:
Last Closed: 2011-07-06 13:24:42 UTC
Target Upstream Version:


Attachments (Terms of Use)
zh_TW ibus icon menu after it is broken (295.19 KB, image/png)
2011-03-07 06:07 UTC, Kenichi Takemura
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0922 0 normal SHIPPED_LIVE cjkuni-fonts bug fix update 2011-07-06 13:24:38 UTC

Description Kenichi Takemura 2011-03-07 06:07:06 UTC
Created attachment 482606 [details]
zh_TW ibus icon menu after it is broken

Description of problem:

ibus-chewing is broken after hitting space key to select predict characters.
It shows square characters in predict window and on ibus icon.

Version-Release number of selected component (if applicable):
ibus-chewing-1.3.5.20100714-4.el6

How reproducible:
100%

Steps to Reproduce:
1. Logon zhTW locale
2. Open gedit and type 'eji6'
3. Hit space key 4 times(predict window shows square characters)
4. Hit space key more but most of characters displayed are square
5. Move mouse focus to ibus icon and try left and rgith click. Pop-up menu is also garbled.
  
Actual results:
Broken?

Expected results:
Should work correctly.

Additional info:

Comment 1 Kenichi Takemura 2011-03-07 06:09:05 UTC
This broken phenomenon is back to normal after restarting ibus.

Comment 3 Kenichi Takemura 2011-03-08 05:30:01 UTC
RHEL6.0 has the same issue. (Not regression I guess)

Comment 4 Ding-Yi Chen 2011-03-09 00:21:41 UTC
May I have the output of:
gconftool-2 -a /desktop/ibus/engine/Chewing

Comment 5 Kenichi Takemura 2011-03-09 06:02:13 UTC
$ gconftool-2 -a /desktop/ibus/engine/Chewing
 plainZhuyin = false
 spaceAsSelection = true
 escCleanAllBuf = false
 inputStyle = in candidate window
 syncCapsLockLocal = keyboard
 forceLowercaseEnglish = false
 selKeys = 1234567890
 phraseChoiceRearward = true
 easySymbolInput = true
 candPerPage = 10
 KBType = default
 maxChiSymbolLen = 20
 numpadAlwaysNumber = true
 autoShiftCur = false
 hsuSelKeyType = 1
 addPhraseDirection = false

Comment 7 Ding-Yi Chen 2011-03-29 04:52:24 UTC
I still cannot reproduce the bug, what's version of libchewing?

Comment 8 Kenichi Takemura 2011-03-29 21:52:55 UTC
Hi I could reproduce this bug using the latest RHEL6.1 build.

libchewing-0.3.2-27.el6.x86_64

Could you try 
- Fresh install on zh_TW
- VM

This might be kvm issue since I am using a kvm guest for this testing.

Comment 9 Ding-Yi Chen 2011-04-05 05:40:47 UTC
Mmm, I just recent install a new RHEL6 box, which reproduced the problem.
I will investigate that further.

Comment 12 Ding-Yi Chen 2011-05-25 05:41:33 UTC
Mmm, the debug mode shows the correct string, but not in candidate dialog.

Comment 13 Ding-Yi Chen 2011-05-30 00:59:27 UTC
Mmm, type "ibus-daemon" in command line.
When the error occur, it pumped out:
/usr/share/ibus/ui/gtk/candidatepanel.py:482: PangoWarning: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='AR PL UMing HK Light 9.9990234375', text='國'

Comment 14 Ding-Yi Chen 2011-05-30 02:17:01 UTC
This turn out to be the problem of AR PL UMing in size 12, 11, and 10.

I can reproduce the same bug with gucharmap with character 䆐 (U+4190)
with zh_CN.utf8 and zh_TW.utf8
Steps:

1. LANG=en_US.utf8 gucharmap
2. Search and show character (U+4190).
3. Change font to either one of "AR PL UMing" and size to 10
   Note the display is still normal.
4. Quit gucharmap
5. LANG=zh_TW.utf8 gucharmap
6. Now Chinese characters are displayed like empty boxes.

Other locale such as en_US, ja_JP doesn't seems to have this problem.
Other fonts such as WQY and AR PL UKai doesn't seems to have problem either.

Comment 15 Ding-Yi Chen 2011-05-30 02:25:41 UTC
Looks like the recurrence of

https://bugzilla.redhat.com/show_bug.cgi?id=519317

Comment 16 Ding-Yi Chen 2011-05-30 04:51:23 UTC
Fedora cjkuni-uming-font did fix the problem.

Comment 19 Peng Wu 2011-06-07 03:12:43 UTC
I manually removed /etc/fonts/conf.d/25-ttf-arphic-uming-bitmaps.conf, and seems this bug is fixed.
Will remove the 25-ttf-arphic-uming-bitmaps.conf from cjkuni-fonts.spec.

Comment 25 Petr Kovar 2011-06-29 11:14:25 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Prior to this update, when viewing the U+4190 CJK character with the AR PL UMing font and the font size 10, this character was not displayed properly. This bug has been corrected in this update so that the character is now correctly displayed as expected.

Comment 26 errata-xmlrpc 2011-07-06 13:24:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0922.html


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