Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60851 - Traditional Chinese Fonts in KDE 3.2.3 Messed Up
Summary: Traditional Chinese Fonts in KDE 3.2.3 Messed Up
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-18 23:42 UTC by wsk
Modified: 2005-12-25 05:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
screenshot 1 for a first time KDE login session in zh_TW.UTF-8 (sc1.png,272.60 KB, image/png)
2004-08-20 17:57 UTC, wsk
Details
screenshot 2 for a first time KDE login session in zh_TW.UTF-8 (sc2.png,279.32 KB, image/png)
2004-08-20 17:58 UTC, wsk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wsk 2004-08-18 23:42:27 UTC
In KDE 3.2.3, traditional chinese fonts are rendered incorrectly.  Some characters are missing.  This is running in a zh_TW.UTF-8 environment.

Reproducible: Always
Steps to Reproduce:
1. emerge kde
2. set LANG=zh_TW.UTF-8 and LC_ALL=zh_TW.UTF-8
3. XSESSION="kde-3.2.3" startx


Actual Results:  
1. In the splash screen, some chinese characters are missing.
2. In the menu, some chinese characters are missing.
3. In the font setup, many fonts have missing chinese characters.

So I force KDE to use Ming ISO 10646, a Unicode Chinese font.  Now all the
characters appear properly.  However, using the redmond flash screen and
Konquerer viewing chinese websites, both applications insist on using another
chinese font with missing characters.  In mozilla, KDE also insists on using
this particular chinese font but the characters all appear properly, both in the
menus as well as viewing chinese websites.

Expected Results:  
1. Should render the default Chinese font properly.
2. When I tell KDE to use another font (in font setup), all applications should
follow this configuration (but it doesn't seem to be the case)
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-08-19 05:47:14 UTC
Unfortunately, I don't really know anything about using non-western fonts with KDE.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-08-19 05:52:38 UTC
Does anyone in cjk herd use KDE in zh_TW.UTF-8 environment?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-08-19 11:57:59 UTC
not in KDE i don't. but i believe that it is taking preferences from /etc/fonts/fonts.conf ? so maybe another chinese font is being put in front of the HKSCS Ming font? 
Comment 4 wsk 2004-08-19 16:28:25 UTC
In /etc/fonts/fonts.conf, this is the font in the sans-serif/serif aliases:
<family>AR PL Mingti2L Big5</family>

I have nothing in /etc/fonts/local.conf.

However like I said, Mozilla for some reason was forced to use this font (even though I set in KDE to use the Ming ISO 10646 font) and the font was rendered correctly (i.e. no missing characters).  In the splash screen (redmond) and Konquerer when this font was used, there were missing characters.

I forgot to mention an additional step I did after emerging kde:
# LINGUAS="zh_TW" emerge kde-i18n

Comment 5 Victor Tseng 2004-08-20 03:52:55 UTC
qt does a bad font choosing. as pango will look up in then next prefered font if some char is missing in one font. (sorry for my poor english...)

qtconfig might help a bit, but actually arphic fonts are kinda iso-10646-1 compatible, and the should be quiet complete.

maybe you would like to take a screenshot of "which exactly the chars are missing"?

btw, that should be a qt (and/or) fontconfig problem, instead of kde's.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-08-20 07:59:24 UTC
does qt use fontconfig to choose its fonts? you should remove that AR Big5 font from your fonts config and put in the Ming font in its place.

arphic font misses many hkscs characters, and that is why the media-fonts/hkscs-ming is there. its more complete that the arphic fonts.
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-08-20 08:00:38 UTC
yes, qt versions > 3.3.0 use fontconfig.
Comment 8 wsk 2004-08-20 17:57:20 UTC
Created attachment 37832 [details]
screenshot 1 for a first time KDE login session in zh_TW.UTF-8
Comment 9 wsk 2004-08-20 17:58:09 UTC
Created attachment 37833 [details]
screenshot 2 for a first time KDE login session in zh_TW.UTF-8
Comment 10 Victor Tseng 2004-08-21 01:27:54 UTC
okay, this should be a forum question instead of bug.

i'm not using kde... but, the solution should have something to do with the tool "qtconfig".
check http://forums.gentoo.org.tw/ for more info on traditional chinese support in gentoo.
Comment 11 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-12 07:56:20 UTC
Is this still a problem?
Comment 12 Dominik Stadler (RETIRED) gentoo-dev 2005-03-07 13:06:28 UTC
No response for nearly two months, closing Bug now, please REOPEN if this is still a problem for you.
Comment 13 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-25 05:54:46 UTC
Assuming the problem disappeared over time.