Bug 1155409
| Summary: | Some Chinese characters are not rendered correctly. | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peng Wu <pwu> | ||||||||||||||
| Component: | java-1.8.0-openjdk | Assignee: | Deepak Bhole <dbhole> | ||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||
| Priority: | unspecified | ||||||||||||||||
| Version: | 21 | CC: | ahughes, dbhole, jvanek, omajid | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2014-10-22 08:51:56 UTC | Type: | Bug | ||||||||||||||
| 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
Peng Wu
2014-10-22 05:49:47 UTC
Created attachment 949256 [details]
Screenshot of policytool in Simplified Chinese environment
> BTW, recently we changed default Chinese fonts of Fedora 21 to Adobe "Source
> Han Sans" fonts, which has better font quality.
Are you sure that the requested characters are in those fonts?
May you post list of fonts, which have been used before this error, and which are used now? (probably outputs of rpm -qa)
f20
I have run the policytool under zh_CN lang, and it looked ok. I did not had squares (but I also missed the (X) acronyms) See screenshot.
f21
I have run the policytool under zh_CN lang, anf it looked same as yours screenshot == I reproduced issue.
However, the font configuration on those two systems was completely different. I will attach the rpm -qa logs later.
I will also attach very simple reproducer to speed up debugging.
Simply - may you verify your fonts configuration?
Created attachment 949272 [details]
f20-alot of fons installed screenshot
Created attachment 949273 [details]
f21-only basic fonts installed
Created attachment 949290 [details]
reproducer
javac PolicyToolTexts.java
then run
java PolicyToolTexts one window
to reproduce bug
java PolicyToolTexts all window
prints few more locales
java PolicyToolTexts one
or
java PolicyToolTexts all
is headless mode, but do not reproduce theissue.
For Fedora 20, cjkuni-uming-fonts and wqy-zenhei-fonts are the default Chinese fonts. For Fedora 21, adobe-source-han-sans-cn-fonts and adobe-source-han-sans-twhk-fonts are the default Chinese fonts. Yes, as they are Chinese fonts, I think they contains the glyphs. We changed the comps for Fedora 21. BTW, in long term, we may switch to google-noto-fonts for Chinese fonts. Created attachment 949293 [details]
fc-list for my f20 machine
Created attachment 949294 [details]
fc-list for my f21 machine
cjkuni-uming-fonts and adobe-source-han-sans-twhk-fonts are Traditional Chinese fonts. wqy-zenhei-fonts and adobe-source-han-sans-cn-fonts are Simplified Chinese fonts. [tester@tyr ~]$ sudo yum install "cjk*uni*" Loaded plugins: langpacks Resolving Dependencies --> Running transaction check ---> Package cjkuni-ukai-fonts.noarch 0:0.2.20080216.1-52.fc21 will be installed ---> Package cjkuni-uming-fonts.noarch 0:0.2.20080216.1-54.fc21 will be installed --> Finished Dependency Resolution Dependencies Resolved fixed the issue on f21. Closing as not a bug. If you feel that those chars are missing in the fonts you are using, please redirect this bug to proper component. |