RE: [m17n] SJIS and Java properties files not displaying onSuSE 10.0. Help!
Hi,
I am running jre1.5.0_06 on SuSE 10.0 w/ gnome desktop.
I need to enable a Java app to display the JPN characters correctly. Locale is set to JPN. Now they come up as boxes.
The properties files containing the strings have the JPN characters as Shift-Jis (SJIS)-encoded escape characters. This works on the Windows side, and I can't have separate string-Properties files for Win and Linux, so I am hoping we can make these work on both platforms.
My assumption is I need a modified font.properties file to correctly display the strings.
I have tried modifying the fontconfig.SuSE.properties.src file to contain the information needed to map to the JPN fonts on the system, but unsuccessfully.
I have also tried adding in the font.properties.ja.SuSE into the directory /usr/java/jre1.5.0_06, which I downloaded from: ftp://ftp.suse.com/pub/people/pmladek/java/font.properties. I also
FYI: My locale was set to ja_JP. Turns out I had to remove all of the other fontconfig.*.*.* files, and the one I got from Marko Walther's weblog worked. I guess JRE was falling back to one of those installed with the JRE. Is there a standardized version of the fontconfig.SuSE.properties.src that will work with SuSE, or is the one I have (mentioned above) the "standard"? Thanks! Cory -----Original Message----- From: Stephen Holmes [mailto:sholmes@novell.com] Sent: Wednesday, February 22, 2006 12:20 PM To: Whitney, Cory Cc: m17n@suse.com Subject: Re: [m17n] SJIS and Java properties files not displaying onSuSE 10.0. Help! Cory, You need to use the ja_JP locale, JPN is an older Microsoft locale naming convention. S. On Wed, 2006-02-22 at 19:30 +0000, "Whitney, Cory" wrote: tried
changing the name of font.properties.ja.SuSE to fontconfig.SuSE.properties.ja.src, but that made no difference.
I have downloaded the kochi - substitute rpm and installed it. I also made copies of the kochi-mincho-subst.ttf and kochi-gothic-subst.ttf and renamed them kochi-mincho.ttf and kochi-gothic.ttf.
Another thing I tried was using the font properties file/font from Marco Walther
(http://blogs.sun.com/roller/page/marcoscorner?entry=creator_java_se_and
_asian). But no luck there either...
One thing I have noticed: the (r) character (\u00ae) is showing up fine...
I am also having the same sort of trouble getting the CHS and CHT to display.
- Also, I have searched for bug/documentation about this, but couldn't locate it. It would be helpful to have something to buy me a little more time on this project... Please let me know if there are any disclaimers of CJK support for jre1.5.0_06/SuSE that you know of...
Any insight would be greatly appreciated!
P.S - this is my first time working with Linux, so if I am missing something painfully obvious, go easy on me ;-)
Thanks!
Cory Whitney
-- S t e p h e n H o l m e s sholmes@novell.com Tel: +353-1-605-8087 (Office) Tel: +353-1-605-8000 (Reception) Tel: +353-86-833-5027 (cell) Novell, Inc. Software for the Open Enterprise. www.novell.com
participants (1)
-
Whitney, Cory