Re: SuSE and Java1.5 asian fonts question.
Mike FABIAN <[email protected]>
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Message-ID | <[email protected]> |
"Naoya Sugioka" <[email protected]> さんは書きました: > I have a question for the java1.5 sdk/jre font configuration under SuSE > Linux. > Currently I'm using SuSE 9.2 Pro, it has configured with JRE142. it > looks like configured with sazanami font automatically by > font.properties.ja file. > Once after installed JDK1.5 and configured /etc/java/java.conf to setup > JDK1.5 runtime, > I found that fontconfig file has only having Latin-1 font settings. In > order to use Japanese font > as same as JRE142, I made the fontconfig.SuSE.properties file as attached. > After that, JDK1.5 works fine, ant show me Japanese font glyph. > Above things are coming up with my questions. > 1. Which version of SuSE/SLES are supporting Java1.5 for Asian locale ? > 'officially' means don not edit font config file manually. It is fixed in SuSE Linux 9.3 (I attach fontconfig.SuSE.properties from SuSE Linux 9.3 for you to check). > 2. Is there right (or wise) way to configure Java related font ? > Hope a utility tool (ie, SuSEconfig command) queries XLFD database > and get correct font name to be configured in the target system. Not yet, but I will do that for the next version of SuSE Linux. I cannot use xlsfonts for that purpose because there may be no X-Display accessible when SuSEconfig is running. I will probably use "fc-match" to find out the "best" fonts for Japanese, then get the filenames with "fc-list family-name file" and retrieve the XLFD from the fonts.dir in the directory where the font file is. -- Mike FABIAN <[email protected]> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]