diff options
-rw-r--r-- | scripts/splash.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh index 9a414fd..a361da6 100644 --- a/scripts/splash.sh +++ b/scripts/splash.sh @@ -144,8 +144,7 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then # 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_CN*) font=/usr/share/fonts/ttf/gb2312/gkai00mp.ttf ;; - zh_TW*) font=/usr/share/fonts/ttf/big5/bkai00mp.ttf ;; + zh*) font=/usr/share/fonts/ttf/chinese/fireflysung.ttf ;; # 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 ;; @@ -159,7 +158,7 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then eo*|ku*|lt*|lv*|mt*|tr*) font=default ;; # for others, we do a last chance possibility with - # arial unicode, if the user installed it... + # Code2000, if the user installed it... *) font=/usr/X11R6/lib/X11/fonts/drakfont/ttf/code2000.ttf ;; esac @@ -183,11 +182,10 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then # some fonts need a bigger size to have a nice display case "$custom_font" in *norasi_b.ttf) text_size=$(( $text_size + 6 )) ;; - *gkai00mp.ttf) text_size=$(( $text_size + 2 )) ;; - *bkai00mp.ttf) text_size=$(( $text_size + 2 )) ;; + *fireflysung.ttf) text_size=$(( $text_size + 6 )) ;; *Kacst-Qr.ttf|*nazli.ttf|*nastaliq_unicode.ttf) text_size=$(( $text_size + 6 )) ;; - # sizes lower than 18 display as noise in FB - *kochi-gothic.ttf) if [ "$text_size" -lt "18" ]; then text_size=18 ; fi ;; + # sizes lower than 20 display as noise in FB + *sazanami-gothic.ttf) if [ "$text_size" -lt "20" ]; then text_size=20 ; fi ;; esac fi |