Bug 175599
Summary: | Emacs cannot display all Chinese glyphs even if there are proper fonts | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yijun Yuan <bbbush.yuan> | ||||
Component: | emacs | Assignee: | Chip Coldwell <coldwell> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | mattdm, sangu.fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
URL: | http://www.linuxsir.org/bbs/showthread.php?t=234273 | ||||||
Whiteboard: | |||||||
Fixed In Version: | 22.0.95-1.fc7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-04-07 07:35:35 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
Yijun Yuan
2005-12-13 08:27:56 UTC
Created attachment 122169 [details]
a text file contains 6 chinese characters.
problem solved. Thanks to hellwolf@seu, his init script helps a lot. please follow the URL link[1] to find his explanation. the scripts including wqy-bitmapfont rpm spec and .el can be found in fedora-gro cvs[2]. [1] http://www.linuxsir.org/bbs/showthread.php?t=234273 [2] http://gro.clinux.org/scm/cvsweb.php/rpms/w/wqy-bitmapfont/?cvsroot=fedora It would nice to have the WenQuanYi Bitmap Song font in Fedora Extras. I don't really understand the solution you referred to: would you be able to summarize it here. By the way have you tried mule-gbk <http://mule-gbk.sourceforge.net/> ? The .el file is here: http://gro.clinux.org/scm/cvsweb.php/%7echeckout%7e/rpms/w/wqy-bitmapfont/SOURCES/set-my-fonts.el?rev=1.4&contenttype=text/plain&cvsroot=fedora this snippet is an expanded version: (create-fontset-from-fontset-spec "-*-fixed-medium-r-normal-*-13-*-*-*-c-*-fontset-firefly, chinese-gb2312:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-big5-1:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-big5-2:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-sisheng:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-cns11643-3:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-cns11643-4:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-cns11643-5:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-cns11643-6:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, chinese-cns11643-7:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, japanese-jisx0208-1978:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, japanese-jisx0208:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, japanese-jisx0212:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, japanese-jisx0213-1:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, japanese-jisx0213-2:-*-firefly new sung-medium-r-normal-*-13-*-*-*-*-*-iso10646-1, " ) (set-default-font "fontset-firefly") To tell the truth, I cannot fully understand why. Hellwolf@seu told me that emacs is matching wrong font to chinese script in utf8 environment. In his code he specifies "firefly new sung" for all chinese and english encodings. In the .el file I use "wenquanyi" instead of "firefly new sung". I could not explain more :( sorry, but it is "all chinese and japanese encodings". please see bug 175599 this problem isn't emacs bug but xorg 7.0 (libfontenc) bug, maybe. Fedora Core 5 and Fedora Core 6 are, as we're sure you've noticed, no longer test releases. We're cleaning up the bug database and making sure important bug reports filed against these test releases don't get lost. It would be helpful if you could test this issue with a released version of Fedora or with the latest development / test release. Thanks for your help and for your patience. [This is a bulk message for all open FC5/FC6 test release bugs. I'm adding myself to the CC list for each bug, so I'll see any comments you make after this and do my best to make sure every issue gets proper attention.] So happy to find that in fc7t3, with default installed emacs-22.0.95-1.fc7 and fonts-chinese-3.03-4.fc7, locale is zh_CN.UTF-8, every single chinese character is displayed very well (though a bit small on large display), even when fonts-japanese is also installed. Please close this bug, thanks! |