Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Font configuration
4#
5
6config FONT_SUPPORT
7 tristate
8
9if FONT_SUPPORT
10
11config FONTS
12 bool "Select compiled-in fonts"
13 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC || DRM_CLIENT_LOG
14 help
15 Say Y here if you would like to use fonts other than the default
16 your frame buffer console usually use.
17
18 Note that the answer to this question won't directly affect the
19 kernel: saying N will just cause the configurator to skip all
20 the questions about foreign fonts.
21
22 If unsure, say N (the default choices are safe).
23
24config FONT_8x8
25 bool "VGA 8x8 font" if FONTS
26 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
27 default y if !SPARC && !FONTS
28 help
29 This is the "high resolution" font for the VGA frame buffer (the one
30 provided by the text console 80x50 (and higher) modes).
31
32 Note that this is a poor quality font. The VGA 8x16 font is quite a
33 lot more readable.
34
35 Given the resolution provided by the frame buffer device, answer N
36 here is safe.
37
38config FONT_8x16
39 bool "VGA 8x16 font" if FONTS
40 default y if !SPARC && !FONTS
41 help
42 This is the "high resolution" font for the VGA frame buffer (the one
43 provided by the VGA text console 80x25 mode.
44
45 If unsure, say Y.
46
47config FONT_6x11
48 bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
49 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
50 default y if !SPARC && !FONTS && MAC
51 help
52 Small console font with Macintosh-style high-half glyphs. Some Mac
53 framebuffer drivers don't support this one at all.
54
55config FONT_7x14
56 bool "console 7x14 font (not supported by all drivers)" if FONTS
57 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
58 help
59 Console font with characters just a bit smaller than the default.
60 If the standard 8x16 font is a little too big for you, say Y.
61 Otherwise, say N.
62
63config FONT_PEARL_8x8
64 bool "Pearl (old m68k) console 8x8 font" if FONTS
65 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
66 default y if !SPARC && !FONTS && AMIGA
67 help
68 Small console font with PC-style control-character and high-half
69 glyphs.
70
71config FONT_ACORN_8x8
72 bool "Acorn console 8x8 font" if FONTS
73 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
74 default y if !SPARC && !FONTS && ARM && ARCH_ACORN
75 help
76 Small console font with PC-style control characters and high-half
77 glyphs.
78
79config FONT_MINI_4x6
80 bool "Mini 4x6 font"
81 depends on !SPARC && FONTS
82
83config FONT_6x10
84 bool "Medium-size 6x10 font"
85 depends on !SPARC && FONTS
86 help
87 Medium-size console font. Suitable for framebuffer consoles on
88 embedded devices with a 320x240 screen, to get a reasonable number
89 of characters (53x24) that are still at a readable size.
90
91config FONT_10x18
92 bool "console 10x18 font (not supported by all drivers)" if FONTS
93 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
94 help
95 This is a high resolution console font for machines with very
96 big letters. It fits between the sun 12x22 and the normal 8x16 font.
97 If other fonts are too big or too small for you, say Y, otherwise say N.
98
99config FONT_SUN8x16
100 bool "Sparc console 8x16 font"
101 depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
102 BOOTX_TEXT || EARLYFB
103 help
104 This is the high resolution console font for Sun machines. Say Y.
105
106config FONT_SUN12x22
107 bool "Sparc console 12x22 font (not supported by all drivers)"
108 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
109 depends on !SPARC && FONTS
110 help
111 This is the high resolution console font for Sun machines with very
112 big letters (like the letters used in the SPARC PROM). If the
113 standard font is unreadable for you, say Y, otherwise say N.
114
115config FONT_TER10x18
116 bool "Terminus 10x18 font (not supported by all drivers)"
117 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
118 depends on !SPARC && FONTS || SPARC
119 help
120 Terminus Font is a clean, fixed width bitmap font, designed
121 for long (8 and more hours per day) work with computers.
122 This is the high resolution version made for use with 13-16" laptops.
123 It fits between the normal 8x16 font and Terminus 16x32.
124 If other fonts are unreadable for you, say Y, otherwise say N.
125
126config FONT_TER16x32
127 bool "Terminus 16x32 font (not supported by all drivers)"
128 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
129 depends on !SPARC && FONTS || SPARC
130 help
131 Terminus Font is a clean, fixed width bitmap font, designed
132 for long (8 and more hours per day) work with computers.
133 This is the high resolution, large version for use with HiDPI screens.
134 If the standard font is unreadable for you, say Y, otherwise say N.
135
136config FONT_6x8
137 bool "OLED 6x8 font" if FONTS
138 depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
139 help
140 This font is useful for small displays (OLED).
141
142config FONT_AUTOSELECT
143 def_bool y
144 depends on !FONT_8x8
145 depends on !FONT_6x11
146 depends on !FONT_7x14
147 depends on !FONT_PEARL_8x8
148 depends on !FONT_ACORN_8x8
149 depends on !FONT_MINI_4x6
150 depends on !FONT_6x10
151 depends on !FONT_SUN8x16
152 depends on !FONT_SUN12x22
153 depends on !FONT_10x18
154 depends on !FONT_TER10x18
155 depends on !FONT_TER16x32
156 depends on !FONT_6x8
157 select FONT_8x16
158
159endif # FONT_SUPPORT