Bug 103031
Summary: | LTC4051-unable to display DBCS on AWT/Swing application | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | IBM Bug Proxy <bugproxy> | ||||||||||||||||
Component: | IBMJava2-JRE | Assignee: | Karen Bennet <bennet> | ||||||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||||
Priority: | high | ||||||||||||||||||
Version: | 3.0 | CC: | bennet, tromey | ||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | i386 | ||||||||||||||||||
OS: | Linux | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||
Last Closed: | 2004-09-20 13:48:11 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
IBM Bug Proxy
2003-08-25 17:55:33 UTC
Please ignore attachments above this comment; incorrect reference. Created attachment 93911 [details]
test case
Created attachment 93912 [details]
Performance testcase screen shot
Created attachment 93913 [details]
Swing Up test case screen shot
Created attachment 93914 [details]
RH 8 Performance Screen shot
Created attachment 93915 [details]
RH8 Swing
Does eclipse work when used with gcj, or with a different VM? Created attachment 93930 [details]
proposed patch
Hmm, it looks like Java didn't deal with fonts.alias. fonts.dir is generated by
xfs initscript, and ttfonts-ja package just provides the alias name to keep the
generic family name. so I don't think fixing this issue in ttfonts-ja package
is possible.
Attached file will fixes the font issue on the demo applications at least. the
demo applications displayed the empty square when the wrong font are used. but
this test case just displayed ???. I'm not familiar with Java, though. I wonder
if ttfonts-ja causes this issue.
------ Additional Comments From chinen.com 2003-25-08 20:37 ------- This defect seems to be caused thorough the file name of Japanese TrueType fonts was changed. Fuse-san and Mr. HWA TRUONG, Could you show me the results of the following works? 1. Open the font.properties.ja file. It is in the IBMJava2-131/jre/lib/ directory. 2. Change the following lines. 193,194c193,194 < filename.gothic_medium_r=kochi-gothic.ttf < filename.minchol_medium_r=kochi-mincho.ttf --- > filename.gothic_medium_r=kochi-gothic-subst.ttf > filename.minchol_medium_r=kochi-mincho-subst.ttf Thank you, I couldn't find such entry in font.properties.ja. I'm also using IBMJava2 1.3.1. However your testcase works fine now after adding that entries to font.properties.ja. So I would close this bug as UPSTREAM. Created attachment 94062 [details]
updated patch
At least we should be able to take care this patch for our package? reassigning this to IBMJava2-JRE ----- Additional Comments From chinen.com 2004-01-30 05:59 ------- This bug doesn't occur on RHEL 3.0 public release. So I'd like to close this bug. Thanks all. Fixed in RHEL3. Closing. |