aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2005-02-08 20:01:28 +0000
committerPablo Saratxaga <pablo@mandriva.com>2005-02-08 20:01:28 +0000
commit4258a070199b4e14f4970955a01241db5950ec37 (patch)
treef96a33ab9a64210d009d292347ffc9c832510718
parent5d9eed699fce3727c0bac01659573ec1e489483b (diff)
downloadbootsplash-4258a070199b4e14f4970955a01241db5950ec37.tar
bootsplash-4258a070199b4e14f4970955a01241db5950ec37.tar.gz
bootsplash-4258a070199b4e14f4970955a01241db5950ec37.tar.bz2
bootsplash-4258a070199b4e14f4970955a01241db5950ec37.tar.xz
bootsplash-4258a070199b4e14f4970955a01241db5950ec37.zip
checked default fonts for upcoming languages
-rw-r--r--scripts/splash.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh
index a361da6..dd20904 100644
--- a/scripts/splash.sh
+++ b/scripts/splash.sh
@@ -132,6 +132,8 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then
ur*) font=/usr/share/fonts/ttf/arabic/nastaliq_unicode.ttf ;;
as*|bn*) font=/usr/share/fonts/ttf/bengali/MuktiNarrow.ttf ;;
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 ;;
# this font doesn't has ascii chars
hi*|_mr*) font=/usr/share/fonts/otf/mdk/raghu.ttf ;;
@@ -140,7 +142,11 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then
# 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 ;;
+ # 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 ;;
+ # we don't ship any gurmukhi font yet
+ _pa_IN*) font=/usr/share/fonts/ttf/gurmukhi/xxxxx.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 ;;
@@ -184,8 +190,8 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then
*norasi_b.ttf) text_size=$(( $text_size + 6 )) ;;
*fireflysung.ttf) text_size=$(( $text_size + 6 )) ;;
*Kacst-Qr.ttf|*nazli.ttf|*nastaliq_unicode.ttf) text_size=$(( $text_size + 6 )) ;;
- # sizes lower than 20 display as noise in FB
- *sazanami-gothic.ttf) if [ "$text_size" -lt "20" ]; then text_size=20 ; fi ;;
+ # sizes lower than 22 display as noise in FB
+ *sazanami-gothic.ttf) if [ "$text_size" -lt "22" ]; then text_size=22 ; fi ;;
esac
fi