Stefan Müller
I try to display simplified chinese characters with Java 1.5 under SuSE 10.1, but I only get boxes instead of the characters.
I found the file /usr/lib/jvm/java-1.5.0-sun-1.5.0_07/jre/lib/fontconfig.SuSE.properties
which might be relevant. Can somebody explain to me how it works. From other mails on this list I got the impression that fonts-config should find everything automatically.
The problem may be related to the statement:
sequence.allfonts.UTF-8.zh=latin-1,chinese-iso10646,japanese-x0208,japanese-x0201
I don't think that is related because I have the same line and it
works for me.
I guess you don't have the Founder fonts installed.
Please install
http://ftp.opensuse.org/pub/opensuse/distribution/SL-10.1/non-oss-inst-sourc...
http://ftp.opensuse.org/pub/opensuse/distribution/SL-10.1/non-oss-inst-sourc...
and try again, then it should work.
The file
/usr/lib/jvm/java-1.5.0-sun-1.5.0_07/jre/lib/fontconfig.SuSE.properties
is auto-generated by /usr/sbin/fonts-config (called by "SuSEconfig
--fonts").
For Japanese, fonts-config checks which Japanese fonts are available
and edits fontconfig.SuSE.properties to use the "best" ones available.
For Chinese, fonts-config doesn't yet do that, it just writes entries
using the Founder fonts unconditionally. If the Founder fonts are not
installed, it doesn't work.
I should improve that to generate alternative Chinese font entries as
well if the Founder fonts are not installed but for example the Arphic
PL fonts are installed.
--
Mike FABIAN