summaryrefslogtreecommitdiff
path: root/lib/fonts/fonts.c
diff options
context:
space:
mode:
authorAmanoel Dawod <amanoeladawod@gmail.com>2018-12-05 18:56:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-19 10:42:08 +0100
commitac8b6f148fc97e9e10b48bd337ef571b1d1136aa (patch)
tree3f7ece0002f0dac2ca6d9768b5de09cbcec3d071 /lib/fonts/fonts.c
parent9d84d3e6bd6871a0c410fc1c0571fa025236bf7e (diff)
Fonts: New Terminus large console font
This patch adds an option to compile-in a high resolution and large Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. The font was convereted from standard Terminus ter-i32b.psf (size 16x32) with the help of psftools and minor hand editing deleting useless characters. This patch is non-intrusive, no options are enabled by default so most users won't notice a thing. I am placing my changes under the GPL 2.0 just as source Terminus font. Signed-off-by: Amanoel Dawod <amanoeladawod@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/fonts/fonts.c')
-rw-r--r--lib/fonts/fonts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fonts/fonts.c b/lib/fonts/fonts.c
index 823376ca0a8b..9969358a7af5 100644
--- a/lib/fonts/fonts.c
+++ b/lib/fonts/fonts.c
@@ -67,6 +67,10 @@ static const struct font_desc *fonts[] = {
#undef NO_FONTS
&font_6x10,
#endif
+#ifdef CONFIG_FONT_TER16x32
+#undef NO_FONTS
+ &font_ter_16x32,
+#endif
};
#define num_fonts ARRAY_SIZE(fonts)