Bug 486252
| Summary: | KDE4.2 cannot show Chinese fonts after using anti-aliasing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | yd.nvstp | ||||
| Component: | wqy-bitmap-fonts | Assignee: | Qianqian Fang <fangqq> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 10 | CC: | fangqq, fedora-trans-zh_cn, fonts-bugs, i18n-bugs, lovenemesis, petersen | ||||
| Target Milestone: | --- | Keywords: | Desktop, i18n, Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-07-06 05:22:20 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
yd.nvstp
2009-02-19 02:33:05 UTC
I've no idea about this problem as I don't use KDE, but I'd interested to try it. According to Dingyi [1], there is some font preference problem. As this kind of Qt bugs happen since the start of KDE project, while Red Hat / Fedora managed to prevent such behavior in former releases, I believe a patch got dropped incorrectly in the new release. [1] http://dingyichen.livejournal.com/9674.html (In reply to comment #1) > I've no idea about this problem as I don't use KDE, but I'd interested to try > it. According to Dingyi [1], there is some font preference problem. As this > kind of Qt bugs happen since the start of KDE project, while Red Hat / Fedora > managed to prevent such behavior in former releases, I believe a patch got > dropped incorrectly in the new release. Maybe. I also use Archlinux in my notebook, but there is not such problem about KDE4.2. So I think this problem is about fedora. > > > > [1] http://dingyichen.livejournal.com/9674.html Unfortunately, I am unable to reproduce this bug. What I did is : 1. Freshly install a Fedora 10 from Fedora-10-Live-KDE-i686 2. Upgrade KDE to 4.2 via su -c 'yum update kde*' 3. Because the default locale set of KDE LiveCD is en_US, I suppose the correct LANG environment variable is necessary: Changing the first line in /etc/sysconfig/i18n from LANG="en_US.UFT-8" to LANG="zh_CN.UTF-8" . 4. Install the KDE Language Pack via su -c 'yum install kde-l10n-Chinese' 5. Reboot the system. Then the whole KDE interface was displayed in Chinese after login. I used Konqueror as the browser (Firefox is not installed by default under KDE LiveCD)to test the websites below: http://www.sina.com.cn Kind of slow due to the lack of Flash plugin, but all Chinese characters were correctly rendered. http://www.google.cn Perfectly displayed. From the reproduce steps I did above, I would like to say this could not be a problem about Fedora. Very strange thing! I cannot reproduce the bug either now. Maybe I updated my system yesterday. It works well now. But I have reproduced this bug on two different PCs. Anyway, thank you. (In reply to comment #3) > Unfortunately, I am unable to reproduce this bug. > > What I did is : > > 1. Freshly install a Fedora 10 from Fedora-10-Live-KDE-i686 > 2. Upgrade KDE to 4.2 via su -c 'yum update kde*' > 3. Because the default locale set of KDE LiveCD is en_US, I suppose the correct > LANG environment variable is necessary: Changing the first line in > /etc/sysconfig/i18n from LANG="en_US.UFT-8" to LANG="zh_CN.UTF-8" . > 4. Install the KDE Language Pack via su -c 'yum install kde-l10n-Chinese' > 5. Reboot the system. > > Then the whole KDE interface was displayed in Chinese after login. I used > Konqueror as the browser (Firefox is not installed by default under KDE > LiveCD)to test the websites below: > http://www.sina.com.cn Kind of slow due to the lack of Flash plugin, but all > Chinese characters were correctly rendered. > http://www.google.cn Perfectly displayed. > > > From the reproduce steps I did above, I would like to say this could not be a > problem about Fedora. Sorry, I made a wrong description about the bug. The correct steps to reproduce the bug: 1. open the "system settings" 2. open "appearance" setting module 3. select the "Fonts" setting 4. select "Enabled" in "Use anti-aliasing", then press "Configure..." button 5. select "RGB" in "Use sub-pixel rendering" 6. choose "Slight" in "Hinting style" 7. an last, press "Apply" That all. Then we open the konqueror, open "www.google.cn", no Chinese fonts displayed! I think this bug may be about the wenquanyi fonts. (In reply to comment #3) > Unfortunately, I am unable to reproduce this bug. > > What I did is : > > 1. Freshly install a Fedora 10 from Fedora-10-Live-KDE-i686 > 2. Upgrade KDE to 4.2 via su -c 'yum update kde*' > 3. Because the default locale set of KDE LiveCD is en_US, I suppose the correct > LANG environment variable is necessary: Changing the first line in > /etc/sysconfig/i18n from LANG="en_US.UFT-8" to LANG="zh_CN.UTF-8" . > 4. Install the KDE Language Pack via su -c 'yum install kde-l10n-Chinese' > 5. Reboot the system. > > Then the whole KDE interface was displayed in Chinese after login. I used > Konqueror as the browser (Firefox is not installed by default under KDE > LiveCD)to test the websites below: > http://www.sina.com.cn Kind of slow due to the lack of Flash plugin, but all > Chinese characters were correctly rendered. > http://www.google.cn Perfectly displayed. > > > From the reproduce steps I did above, I would like to say this could not be a > problem about Fedora. Created attachment 332681 [details]
steps to reproduce the bug
the picture is about the detail to reproduce this bug.
I find this bug may be about the wqy-bitmap-fonts-0.9.9-6.fc10.noarch package. Because from the steps below, I can re-display the Chinese Fonts. Method 1: 1. uninstall "wqy-bitmap-fonts-0.9.9-6.fc10.noarch" Method 2: 1. un-selected "Use anti-aliasing" in Fonts setting module. (In reply to comment #5) > Sorry, I made a wrong description about the bug. > > The correct steps to reproduce the bug: > > 1. open the "system settings" > 2. open "appearance" setting module > 3. select the "Fonts" setting > 4. select "Enabled" in "Use anti-aliasing", then press "Configure..." button > 5. select "RGB" in "Use sub-pixel rendering" > 6. choose "Slight" in "Hinting style" > 7. an last, press "Apply" > > That all. Then we open the konqueror, open "www.google.cn", no Chinese fonts > displayed! > > I think this bug may be about the wenquanyi fonts. > > (In reply to comment #3) > > Unfortunately, I am unable to reproduce this bug. > > > > What I did is : > > > > 1. Freshly install a Fedora 10 from Fedora-10-Live-KDE-i686 > > 2. Upgrade KDE to 4.2 via su -c 'yum update kde*' > > 3. Because the default locale set of KDE LiveCD is en_US, I suppose the correct > > LANG environment variable is necessary: Changing the first line in > > /etc/sysconfig/i18n from LANG="en_US.UFT-8" to LANG="zh_CN.UTF-8" . > > 4. Install the KDE Language Pack via su -c 'yum install kde-l10n-Chinese' > > 5. Reboot the system. > > > > Then the whole KDE interface was displayed in Chinese after login. I used > > Konqueror as the browser (Firefox is not installed by default under KDE > > LiveCD)to test the websites below: > > http://www.sina.com.cn Kind of slow due to the lack of Flash plugin, but all > > Chinese characters were correctly rendered. > > http://www.google.cn Perfectly displayed. > > > > > > From the reproduce steps I did above, I would like to say this could not be a > > problem about Fedora. Methhod 2 should be: un-selected "Use sub-pixel rendering" in "Use anti-aliasing" of Fonts setting module. (In reply to comment #7) > I find this bug may be about the wqy-bitmap-fonts-0.9.9-6.fc10.noarch package. > Because from the steps below, I can re-display the Chinese Fonts. > > Method 1: > 1. uninstall "wqy-bitmap-fonts-0.9.9-6.fc10.noarch" > > Method 2: > 1. un-selected "Use anti-aliasing" in Fonts setting module. > > > (In reply to comment #5) > > Sorry, I made a wrong description about the bug. > > > > The correct steps to reproduce the bug: > > > > 1. open the "system settings" > > 2. open "appearance" setting module > > 3. select the "Fonts" setting > > 4. select "Enabled" in "Use anti-aliasing", then press "Configure..." button > > 5. select "RGB" in "Use sub-pixel rendering" > > 6. choose "Slight" in "Hinting style" > > 7. an last, press "Apply" > > > > That all. Then we open the konqueror, open "www.google.cn", no Chinese fonts > > displayed! > > > > I think this bug may be about the wenquanyi fonts. > > > > (In reply to comment #3) > > > Unfortunately, I am unable to reproduce this bug. > > > > > > What I did is : > > > > > > 1. Freshly install a Fedora 10 from Fedora-10-Live-KDE-i686 > > > 2. Upgrade KDE to 4.2 via su -c 'yum update kde*' > > > 3. Because the default locale set of KDE LiveCD is en_US, I suppose the correct > > > LANG environment variable is necessary: Changing the first line in > > > /etc/sysconfig/i18n from LANG="en_US.UFT-8" to LANG="zh_CN.UTF-8" . > > > 4. Install the KDE Language Pack via su -c 'yum install kde-l10n-Chinese' > > > 5. Reboot the system. > > > > > > Then the whole KDE interface was displayed in Chinese after login. I used > > > Konqueror as the browser (Firefox is not installed by default under KDE > > > LiveCD)to test the websites below: > > > http://www.sina.com.cn Kind of slow due to the lack of Flash plugin, but all > > > Chinese characters were correctly rendered. > > > http://www.google.cn Perfectly displayed. > > > > > > > > > From the reproduce steps I did above, I would like to say this could not be a > > > problem about Fedora. wqy-bitmap-fonts is kind of obsolete according to the Wenquanyi Wiki Personally, I recommend to use wqy-zenhei-fonts instead. (In reply to comment #9) > wqy-bitmap-fonts is kind of obsolete according to the Wenquanyi Wiki > > Personally, I recommend to use wqy-zenhei-fonts instead. Yes, I uninstalled wqy-bitmap-fonts and installed wqy-zenhei-fonts. Everything is OK now. Why does fedora not use wqy-zenhei-fonts to replace wqy-bitmap-fonts by default? Well, wqy-bitmap-fonts is not the default for Chinese,either. The default one is Sans. Ping? Is it still a issue? As there were no feedback in six months, I'm closing it as WONTFIX. (In reply to comment #13) > As there were no feedback in six months, I'm closing it as WONTFIX. Sorry to not focus on this issue so long time. I tried it again in KDE today. I installed package wqy-unibit-fonts-1.1.0-4.fc8.noarch while the package wqy-zenhei-fonts-0.8.38-1.fc10.noarch always exists all the time. $ rpm -qa|grep wqy wqy-unibit-fonts-1.1.0-4.fc8.noarch wqy-zenhei-fonts-0.8.38-1.fc10.noarch But I cannot find WenQuanYi fonts in font list. $ fc-list | grep Wen 文泉驿等宽正黑,文泉驛等寬正黑,WenQuanYi Zen Hei Mono:style=中等,Medium 文泉驿正黑,文泉驛正黑,WenQuanYi Zen Hei:style=中等,Medium And the font files already exist in font folder /usr/share/doc. And I have use fc-cache -fv to refresh font cache. $ ls /usr/share/fonts/w* /usr/share/fonts/wenquanyi-unibit: fonts.dir wqy-unibit.pcf /usr/share/fonts/wqy-zenhei: fonts.dir wqy-zenhei.ttc Anyone else to take it? I've no idea. Regarding #14 fc-cache is not intended to run by user right? And regarding subpixel rendering, maybe it is your monitor's RGB order problem? I don't know how to list font preference or precedence in one specific config. (In reply to comment #14) > (In reply to comment #13) > > As there were no feedback in six months, I'm closing it as WONTFIX. > > Sorry to not focus on this issue so long time. > I tried it again in KDE today. > I installed package wqy-unibit-fonts-1.1.0-4.fc8.noarch while the package > wqy-zenhei-fonts-0.8.38-1.fc10.noarch always exists all the time. > you did not mention if the problem still exist. If it does, please upload a screenshot for your bad Chinese rendering so that we can have a better understanding to your question. (In reply to comment #16) > (In reply to comment #14) > > (In reply to comment #13) > > > As there were no feedback in six months, I'm closing it as WONTFIX. > > > > Sorry to not focus on this issue so long time. > > I tried it again in KDE today. > > I installed package wqy-unibit-fonts-1.1.0-4.fc8.noarch while the package > > wqy-zenhei-fonts-0.8.38-1.fc10.noarch always exists all the time. I cannot use the WenQuanYi font now. Because of the problem, I cannot confirm whether this issue exits. I am confused, you clearly mentioned you have two wqy fonts installed. if you can not reproduce the problem, we can not fix it. These two fonts are all provided by wqy-zenhei-fonts-0.8.38-1.fc10.noarch. They are all "WenQuanYi Zen Hei" fonts. Maybe this is a different new issue. If I understand you correctly, your system works fine with WenQuanYi Zen Hei. If you can not install wqy-bitmap-fonts and provide a screenshot for your previously reported issue, then I have to close this bug. Please let me know. I'm sorry for that. I uninstalled wqy-zenhei-fonts-0.8.38-1.fc10.noarch and reinstalled wqy-unibit-fonts-1.1.0-4.fc8.noarch only again. But I cannot use wqy-unibit-fonts in font list. Yes, it works well with WenQuanYi ZenHei font. I think WenQuanYi zenhei is very good. Using WenQuanYi as the default Chinese font may be a better selection. I close this bug with WONTFIX. Thank you for your attention. |