Increase font size for some devices.
This commit is contained in:
parent
800ad14a64
commit
78d394e5a5
1 changed files with 2 additions and 2 deletions
|
@ -428,10 +428,10 @@ set_consolefont() {
|
|||
progress "Set console font"
|
||||
if [ -e /dev/fb0 ]; then
|
||||
hres="$(fbset 2>/dev/null | awk '/geometry/ { print $2 }')"
|
||||
if [ "${hres}" -gt "0" ] && [ "${hres}" -le "640" ]
|
||||
if [ "${hres}" -gt "0" ] && [ "${hres}" -le "480" ]
|
||||
then
|
||||
setfont -C /dev/console spleen-5x8.psfu
|
||||
elif [ "${hres}" -ge "641" ] && [ "${hres}" -le "720" ]
|
||||
elif [ "${hres}" -gt "480" ] && [ "${hres}" -le "720" ]
|
||||
then
|
||||
setfont -C /dev/console spleen-6x12.psfu
|
||||
elif [ "${hres}" -gt "720" ] && [ "${hres}" -lt "1080" ]
|
||||
|
|
Loading…
Reference in a new issue