aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/splash.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh
index 3a6bb54..f1bf1a1 100644
--- a/scripts/splash.sh
+++ b/scripts/splash.sh
@@ -111,6 +111,9 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then
# - some indic fonts don't have ascii glyphs; so the corresponding
# languages have to be disabled (I added a '_' in front) until they are
# fully translated.
+ if [ -n "$FONT" ] ; then
+ font="$FONT"
+ else
case "${GP_LANG}${LANGUAGE}" in
# Azeri needs the schwa, which is not yet in Nimbus Sans L
az*)
@@ -145,8 +148,8 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then
# 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 ;;
+ # this font doesn't has ascii chars
+ pa_IN*) font=/usr/share/fonts/ttf/gurmukhi/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 ;;
@@ -167,6 +170,7 @@ if [ "$progress" == 1 -o "$1" == "start" ]; then
# Code2000, if the user installed it...
*) font=/usr/X11R6/lib/X11/fonts/drakfont/ttf/code2000.ttf ;;
esac
+ fi
if [ "$font" != "default" ]; then
if [ -r "$font" ]; then