site  contact  subhomenews

Console fonts problem

November 12, 2010 — BarryK
There are two console fonts in /lib/consolefonts:
lat1-12.psfu.gz
lat2-12.psfu.gz


Note, older puppies also have these, in a different location.

One of these is loaded at bootup by /etc/rc.d/rc.country, by the 'loadfont' utility. Here is the code that chooses the fontmap:

 case $KEYBOARD in #note, same code in /usr/sbin/input-wizard and init.

de*|be*|br*|dk*|es*|fi*|fr*|it*|no*|se*|sv*|pt*) #100127 added sv.
FONTMAP="lat1-12.psfu"
modprobe nls_cp850
CODEPAGE="850"
;;
cz*|hu*|pl*|ro*|sk*|croat*|slovene*)
modprobe nls_cp852
modprobe nls_iso8859-2
FONTMAP="lat2-12.psfu"
CODEPAGE="852"
;;
esac


The thing to note about this is that "en*" (English) keyboards do not load either of these.

Pakt and shinobar have reported that the 'dialog' application is upset with these fonts, but only when the nVidia or Intel upgrade video PETs are installed. Forum posts here:
http://murga-linux.com/puppy/viewtopic.php?t=61612&start=30
http://www.murga-linux.com/puppy/viewtopic.php?t=59142&start=14

For now, I will apply a "fix", set "FONTMAP=''" always in /etc/rc.d/rc.country, also in /usr/sbin/input-wizard.

This is not really a proper solution, it needs to be looked at again. One thing to note, the 'dialog' utility is compiled without utf8 or unicode support, because I got compile errors when I tried to enable that.

Comments

place ?
Username: linuxcbon
lat1-12.psfu.gz lat2-12.psfu.gz Shouldn't they be in /lib/kbd/consolefonts/ ? Or /usr/lib/kbd/consolefonts/ ? Are these needed ?


Tags: woof