From 949985a19cb4b93da757e878db3ed62cf8aac475 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Tue, 24 Mar 2009 17:17:16 +0000 Subject: - Update font name / path --- scripts/splash.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'scripts') diff --git a/scripts/splash.sh b/scripts/splash.sh index f3cacbe..152fb1e 100644 --- a/scripts/splash.sh +++ b/scripts/splash.sh @@ -182,23 +182,23 @@ if [ "$progress" == 1 -o "$1" == "start" -o "$1" == "suspend" ]; then el*) font=/usr/share/fonts/type1/greek/Kerkis-Italic.pfb ;; # this font doesn't has ascii chars _gu*) font=/usr/share/fonts/ttf/gujarati/padmaa-Bold-0.5.ttf ;; - he*|yi*) font=/usr/share/fonts/type1/hebrew/NachlieliCLM-Bold.pfb ;; + he*|yi*) font=/usr/share/fonts/Type1/hebrew/NachlieliCLM-Bold.pfb ;; # this font doesn't has ascii chars - hi*|_mr*) font=/usr/share/fonts/otf/mdk/raghu.ttf ;; + hi*|_mr*) font=/usr/share/fonts/TTF/devanagari/raghu.ttf ;; hy*) font=/usr/share/fonts/TTF/armenian/artsnk_b.ttf ;; ja*) font=/usr/share/fonts/TTF/japanese/umeplus-gothic.ttf ;; # this font doesn't has ascii chars _kn*) font=/usr/share/fonts/TTF/kannada/Sampige.ttf ;; - ko*) font=/usr/share/fonts/TTF/korean/gulim.ttf ;; + ko*) font=/usr/share/fonts/TTF/korean/UnDotum.ttf ;; # we don't ship any ttf font for Lao yet _lo*) font=/usr/share/fonts/ttf/lao/xxxx.ttf ;; ml*) font=/usr/share/fonts/otf/mdk/malayalam.ttf ;; # this font doesn't has ascii chars - pa_IN*) font=/usr/share/fonts/TTF/gurmukhi/lohit_pa.ttf ;; + pa_IN*) font=/usr/share/fonts/TTF/lohit/lohit_pa.ttf ;; # using tscii font as currently there isn't shaping ta*) font=/usr/share/fonts/TTF/tscii/tscava.ttf ;; - th*) font=/usr/share/fonts/TTF/thai/norasi_b.ttf ;; - zh*) font=/usr/share/fonts/TTF/chinese/uming.ttf ;; + th*) font=/usr/share/fonts/TTF/thai/Norasi.ttf ;; + zh*) font=/usr/share/fonts/TTF/chinese/uming.ttc ;; # languages supported by the default font; latin1 af*|br*|ca*|da*|de*|es*|et*|eu*|fi*|fr*|fur*|ga*|gl*|id*|is*|it*|li*) font=default ;; @@ -213,7 +213,7 @@ if [ "$progress" == 1 -o "$1" == "start" -o "$1" == "suspend" ]; then font=default ;; # for others, we do a last chance possibility with # Code2000, if the user installed it... - *) font=/usr/X11R6/lib/X11/fonts/drakfont/ttf/code2000.ttf ;; + *) font=/usr/lib/X11/fonts/drakfont/ttf/code2000.ttf ;; esac fi @@ -224,10 +224,10 @@ if [ "$progress" == 1 -o "$1" == "start" -o "$1" == "suspend" ]; then custom_font="-f /etc/locale/`basename $font`" elif [ -r "/etc/locale/default.ttf" ]; then custom_font="-f /etc/locale/default.ttf" - elif [ -r "/usr/X11R6/lib/X11/fonts/drakfont/ttf/code2000.ttf" ]; then - custom_font="-f usr/X11R6/lib/X11/fonts/drakfont/ttf/code2000.ttf" - elif [ -r "/usr/X11R6/lib/X11/fonts/drakfont/ttf/arialuni.ttf" ]; then - custom_font="-f usr/X11R6/lib/X11/fonts/drakfont/ttf/arialuni.ttf" + elif [ -r "/usr/lib/X11/fonts/drakfont/ttf/code2000.ttf" ]; then + custom_font="-f usr/lib/X11/fonts/drakfont/ttf/code2000.ttf" + elif [ -r "/usr/lib/X11/fonts/drakfont/ttf/arialuni.ttf" ]; then + custom_font="-f usr/lib/X11/fonts/drakfont/ttf/arialuni.ttf" else # no font available, translations are not done GP_LANG=C ; -- cgit v1.2.1