From dd193cb2ba757c9c22e59ff45f409bdbf9fef4ee Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 6 Nov 2007 13:17:05 +0000 Subject: INTEGRATION: CWS native112 (1.5.6); FILE MERGED 2007/10/29 12:45:50 is 1.5.6.1: #i81954# patch for japanese fonts --- setup_native/scripts/javaloader.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/setup_native/scripts/javaloader.sh b/setup_native/scripts/javaloader.sh index 3775fc1baa5c..2cde7b9347de 100644 --- a/setup_native/scripts/javaloader.sh +++ b/setup_native/scripts/javaloader.sh @@ -312,6 +312,17 @@ install_linux_rpm() java_runtime=$tempdir/$javahome/bin/java + # Make symbolic links to all TrueType font files installed in the system + # to avoid garbles for Japanese + language=`printenv LANG | cut -c 1-5` + if [ x$language = "xja_JP" ]; then + font_fallback_dir=$javahome/lib/fonts/fallback + echo "Making symbolic links to TrueType font files into $font_fallback_dir." + mkdir -p $font_fallback_dir + ttf_files=`locate "*.ttf" | xargs` + ln -s $ttf_files $font_fallback_dir + fi + echo "Done." cd $olddir } -- cgit