summaryrefslogtreecommitdiff
path: root/include/linux/font.h
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 /include/linux/font.h
parent9d84d3e6bd6871a0c410fc1c0571fa025236bf7e (diff)
downloadlwn-ac8b6f148fc97e9e10b48bd337ef571b1d1136aa.tar.gz
lwn-ac8b6f148fc97e9e10b48bd337ef571b1d1136aa.zip
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 'include/linux/font.h')
-rw-r--r--include/linux/font.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/font.h b/include/linux/font.h
index d6821769dd1e..51b91c8b69d5 100644
--- a/include/linux/font.h
+++ b/include/linux/font.h
@@ -32,6 +32,7 @@ struct font_desc {
#define ACORN8x8_IDX 8
#define MINI4x6_IDX 9
#define FONT6x10_IDX 10
+#define TER16x32_IDX 11
extern const struct font_desc font_vga_8x8,
font_vga_8x16,
@@ -43,7 +44,8 @@ extern const struct font_desc font_vga_8x8,
font_sun_12x22,
font_acorn_8x8,
font_mini_4x6,
- font_6x10;
+ font_6x10,
+ font_ter_16x32;
/* Find a font with a specific name */