font (a67f39c51a88c38215015638c27d3e214735f726) font (8de4fc8d235d59476419e0f2c64562f8fd9a7111)
1#!/bin/sh
2#-
3# Copyright (c) 2012-2013 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 158 unchanged lines hidden (view full) ---

167"c $msg_iso_8859_8") # Hebrew, ISO encoding
168 f8="iso08-8x8" f14="iso08-8x14" f16="iso08-8x16" ;;
169"d $msg_iso_8859_15") # Europe, ISO encoding
170 f8="iso15-8x8" f14="iso15-8x14" f16="iso15-8x16" ;;
171"e $msg_swiss") # English, better resolution
172 f8="swiss-8x8" f14="NO" f16="swiss-8x16" ;;
173esac
174
1#!/bin/sh
2#-
3# Copyright (c) 2012-2013 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 158 unchanged lines hidden (view full) ---

167"c $msg_iso_8859_8") # Hebrew, ISO encoding
168 f8="iso08-8x8" f14="iso08-8x14" f16="iso08-8x16" ;;
169"d $msg_iso_8859_15") # Europe, ISO encoding
170 f8="iso15-8x8" f14="iso15-8x14" f16="iso15-8x16" ;;
171"e $msg_swiss") # English, better resolution
172 f8="swiss-8x8" f14="NO" f16="swiss-8x16" ;;
173esac
174
175[ "$f8" -a "$f14" -a "$f16" ] || f_die "$msg_unknown_font_selection"
175[ "$f8" -a "$f14" -a "$f16" ] || f_die 1 "$msg_unknown_font_selection"
176
177f_sysrc_set font8x8 "$f8" || f_die
178f_sysrc_set font8x14 "$f14" || f_die
179f_sysrc_set font8x16 "$f16" || f_die
180
181if [ "$mc_start" ]; then
182 f_sysrc_set mousechar_start "$mc_start" || f_die
183else
184 f_sysrc_delete mousechar_start || f_die
185fi
186
187exit $SUCCESS
188
189################################################################################
190# END
191################################################################################
176
177f_sysrc_set font8x8 "$f8" || f_die
178f_sysrc_set font8x14 "$f14" || f_die
179f_sysrc_set font8x16 "$f16" || f_die
180
181if [ "$mc_start" ]; then
182 f_sysrc_set mousechar_start "$mc_start" || f_die
183else
184 f_sysrc_delete mousechar_start || f_die
185fi
186
187exit $SUCCESS
188
189################################################################################
190# END
191################################################################################