]> git.ipfire.org Git - thirdparty/systemd.git/commit
vconsole: don't do GIO_SCRNMAP / GIO_UNISCRNMAP
authorMichal Soltys <soltys@ziu.info>
Tue, 26 Jul 2016 22:57:01 +0000 (00:57 +0200)
committerMichal Soltys <soltys@ziu.info>
Tue, 26 Jul 2016 22:57:01 +0000 (00:57 +0200)
commitc2f2c51c53e91232e6f2aa686d734728ad703f9f
tree9a557156a60742c00ffa8001e94f710620f3983a
parent31d28eabc10967daf06ae6ac4959a59556f1e7ff
vconsole: don't do GIO_SCRNMAP / GIO_UNISCRNMAP

GIO_SCRNMAP / GIO_UNISCRNMAP are related to what setfont does with -m
option - namely setting intermediate map from 8bit values into unicode
values. This map is global, so single setfont invocation sets it for
all applicable consoles.

Furthermore calling GIO_SCRNMAP before GIO_UNISCRNMAP causes issues as
the former corrupts values > 255 (UNI alone would be sufficient).

The bug can be easily tested with the following conf:

KEYMAP=pl
FONT=LatArCyrHeb-16
FONT_MAP=8859-2
src/vconsole/vconsole-setup.c