Re: SuSE and Java1.5 asian fonts question

"Suchindra Katageri" <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <4EC2C4DA43FD5D4FB216FACB775E7947017DC143@svlxchcln2.enterprise.veritas.com>
The Japanese fonts for JDK1.5/SLES-9.0 seems to work. Heres the
workaround.

Workaround to get the Japanese fonts working on JDK1.5/SLES-9.0

JDK-1.5 does not have the font properties file. Also SLES 9.0 does not
have the true fonts files. These are needed for the Japanese fonts to
work with the above mentioned platform.

Steps.

1) Add the fontconfig.SuSE.properties file to the jre/lib. This contains
the logical names of the fonts (their style, character set, etc). 

   fontconfig.SuSE.properties can be found at this site:
http://lists.suse.com/archive/m17n/2005-Jun/0019.html
<http://lists.suse.com/archive/m17n/2005-Jun/0019.html> 

2) This file contains the actual font file names, which are a bunch of
.ttf files located in the directory specified. 

e.g. 

filename.-misc-sazanami_gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.19
83-0=/usr/X11R6/lib/X11/fonts/truetype/sazanami-gothic.ttf 

filename.-misc-sazanami_mincho-medium-r-normal--*-%d-*-*-c-*-jisx0208.19
83-0=/usr/X11R6/lib/X11/fonts/truetype/sazanami-mincho.ttf 

Get the true font files sazanami-gothic.ttf and sazanami-mincho.ttf from

http://www.novell.com/products/linuxpackages/professional/sazanami-fonts
.html
<http://www.novell.com/products/linuxpackages/professional/sazanami-font
s.html> 

and store them in the directory specified.

/usr/X11R6/lib/X11/fonts/truetype/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.