]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Use eurlatgr as default console font
authorMarko Myllynen <myllynen@redhat.com>
Tue, 30 Oct 2018 10:30:11 +0000 (12:30 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 21 Oct 2019 11:07:07 +0000 (13:07 +0200)
Fedora and others have used eurlatgr as the default console font
for some time now, or suggested using it:

https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont
https://wiki.archlinux.org/index.php/Linux_console#Fonts

The Fedora Change page lists some of the benefits and this file
lists all the characters (glyphs) supported by the font:

http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=blob;f=data/consolefonts/README.eurlatgr

The notable downside is that the font does not support Arabic,
Cyrillic or Hebrew as LatArCyrHeb-16 (partially) does, so in cases
where support for languages using them is needed a non-default
console font should be used. Fedora, for instance, uses langtable
to decide the console font to use based on installation language:

https://bugzilla.redhat.com/show_bug.cgi?id=1209460

dracut.cmdline.7.asc
dracut.conf.5.asc
dracut.usage.asc
modules.d/10i18n/console_init.sh
modules.d/10i18n/module-setup.sh
test/TEST-04-FULL-SYSTEMD/test.sh

index fb65294b947e046e958314e934096eab6f47f7e7..bf52dd4ebd33e66e207c884c197255b8c7cefd8b 100644 (file)
@@ -242,7 +242,7 @@ rd.vconsole.keymap=de-latin1-nodeadkeys
 [listing]
 .Example
 --
-rd.vconsole.font=LatArCyrHeb-16
+rd.vconsole.font=eurlatgr
 --
 
 **rd.vconsole.font.map=**__<console map base file name>__::
index f5db693a6a48cbd27c9890f89e8362c285464340..ab6a8226b8411b34e8835d1541e16bc0d6555636 100644 (file)
@@ -187,7 +187,7 @@ provide a valid _/etc/fstab_.
 
 *i18n_default_font=*"__<fontname>__"::
     The font <fontname> to install, if not specified otherwise.
-    Default is "LatArCyrHeb-16".
+    Default is "eurlatgr".
 
 *i18n_install_all=*"__{yes|no}__"::
     Install everything regardless of generic or hostonly mode.
index 2f94e0bc02c1be7704211638d39a60f97945f8ec..59e1900d1e20ec32c1d6ede11279df8f22d2c103 100644 (file)
@@ -153,7 +153,7 @@ the keyboard layout and specify a display font.
 
 A typical german kernel command line would contain:
 ----
-rd.vconsole.font=latarcyrheb-sun16 rd.vconsole.keymap=de-latin1-nodeadkeys rd.locale.LANG=de_DE.UTF-8
+rd.vconsole.font=eurlatgr rd.vconsole.keymap=de-latin1-nodeadkeys rd.locale.LANG=de_DE.UTF-8
 ----
 
 Setting these options can override the setting stored on your system, if you use
index 2536f14dd44beeacd586380320e0173bd46abbb2..a463a83de7254690ba0afeaea80f90c68e9d4f31 100755 (executable)
@@ -8,7 +8,7 @@ fi
 
 [ -e /etc/vconsole.conf ] && . /etc/vconsole.conf
 
-DEFAULT_FONT=LatArCyrHeb-16
+DEFAULT_FONT=eurlatgr
 DEFAULT_KEYMAP=/etc/sysconfig/console/default.kmap
 
 set_keyboard() {
index 6db5a9ca5e71b4346d0c34fcece9141bbee15195..fc0c5b3ab441ea92024f68fe1665f03df07e756e 100755 (executable)
@@ -23,7 +23,7 @@ install() {
     fi
 
     KBDSUBDIRS=consolefonts,consoletrans,keymaps,unimaps
-    DEFAULT_FONT="${i18n_default_font:-LatArCyrHeb-16}"
+    DEFAULT_FONT="${i18n_default_font:-eurlatgr}"
     I18N_CONF="/etc/locale.conf"
     VCONFIG_CONF="/etc/vconsole.conf"
 
index f65f30f24401edb3daeb480e5f5160391d6efea2..6b4d9c47f71c3d6f2963fe534c56611e179f4d5b 100755 (executable)
@@ -173,14 +173,13 @@ EOF
         inst /usr/lib/systemd/system/dbus.service
 
         (
-            echo "FONT=latarcyrheb-sun16"
+            echo "FONT=eurlatgr"
             echo "KEYMAP=us"
         ) >$initrd/etc/vconsole.conf
 
         # install basic keyboard maps and fonts
         for i in \
             /usr/lib/kbd/consolefonts/eurlatgr* \
-            /usr/lib/kbd/consolefonts/latarcyrheb-sun16* \
             /usr/lib/kbd/keymaps/{legacy/,/}include/* \
             /usr/lib/kbd/keymaps/{legacy/,/}i386/include/* \
             /usr/lib/kbd/keymaps/{legacy/,/}i386/qwerty/us.*; do