From 4258a070199b4e14f4970955a01241db5950ec37 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Tue, 8 Feb 2005 20:01:28 +0000 Subject: checked default fonts for upcoming languages --- scripts/splash.sh | 10 ++++++++-- 1 file 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 -- cgit v1.2.1