aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2009-03-24 17:17:16 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2009-03-24 17:17:16 +0000
commit949985a19cb4b93da757e878db3ed62cf8aac475 (patch)
tree378e805826108db08d29de250338b89f13daeff1 /scripts
parenta13b415315738e7e4b2505ea875b77cfcf4224b6 (diff)
downloadbootsplash-949985a19cb4b93da757e878db3ed62cf8aac475.tar
bootsplash-949985a19cb4b93da757e878db3ed62cf8aac475.tar.gz
bootsplash-949985a19cb4b93da757e878db3ed62cf8aac475.tar.bz2
bootsplash-949985a19cb4b93da757e878db3ed62cf8aac475.tar.xz
bootsplash-949985a19cb4b93da757e878db3ed62cf8aac475.zip
- Update font name / path
Diffstat (limited to 'scripts')
-rw-r--r--scripts/splash.sh22
1 files changed, 11 insertions, 11 deletions
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 ;