xref: /linux/lib/fonts/Kconfig (revision 84b76d05828a1909e20d0f66553b876b801f98c8)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2ee89bd6bSGeert Uytterhoeven#
3ee89bd6bSGeert Uytterhoeven# Font configuration
4ee89bd6bSGeert Uytterhoeven#
5ee89bd6bSGeert Uytterhoeven
6ee89bd6bSGeert Uytterhoevenconfig FONT_SUPPORT
7ee89bd6bSGeert Uytterhoeven	tristate
8ee89bd6bSGeert Uytterhoeven
9ee89bd6bSGeert Uytterhoevenif FONT_SUPPORT
10ee89bd6bSGeert Uytterhoeven
11ee89bd6bSGeert Uytterhoevenconfig FONTS
12ee89bd6bSGeert Uytterhoeven	bool "Select compiled-in fonts"
13a2fb4d78SHelge Deller	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
14ee89bd6bSGeert Uytterhoeven	help
15ee89bd6bSGeert Uytterhoeven	  Say Y here if you would like to use fonts other than the default
16ee89bd6bSGeert Uytterhoeven	  your frame buffer console usually use.
17ee89bd6bSGeert Uytterhoeven
18ee89bd6bSGeert Uytterhoeven	  Note that the answer to this question won't directly affect the
19ee89bd6bSGeert Uytterhoeven	  kernel: saying N will just cause the configurator to skip all
20ee89bd6bSGeert Uytterhoeven	  the questions about foreign fonts.
21ee89bd6bSGeert Uytterhoeven
22ee89bd6bSGeert Uytterhoeven	  If unsure, say N (the default choices are safe).
23ee89bd6bSGeert Uytterhoeven
24ee89bd6bSGeert Uytterhoevenconfig FONT_8x8
25ee89bd6bSGeert Uytterhoeven	bool "VGA 8x8 font" if FONTS
26a2fb4d78SHelge Deller	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
27ee89bd6bSGeert Uytterhoeven	default y if !SPARC && !FONTS
28ee89bd6bSGeert Uytterhoeven	help
29ee89bd6bSGeert Uytterhoeven	  This is the "high resolution" font for the VGA frame buffer (the one
30ee89bd6bSGeert Uytterhoeven	  provided by the text console 80x50 (and higher) modes).
31ee89bd6bSGeert Uytterhoeven
32ee89bd6bSGeert Uytterhoeven	  Note that this is a poor quality font. The VGA 8x16 font is quite a
33ee89bd6bSGeert Uytterhoeven	  lot more readable.
34ee89bd6bSGeert Uytterhoeven
35ee89bd6bSGeert Uytterhoeven	  Given the resolution provided by the frame buffer device, answer N
36ee89bd6bSGeert Uytterhoeven	  here is safe.
37ee89bd6bSGeert Uytterhoeven
38ee89bd6bSGeert Uytterhoevenconfig FONT_8x16
39ee89bd6bSGeert Uytterhoeven	bool "VGA 8x16 font" if FONTS
40ee89bd6bSGeert Uytterhoeven	default y if !SPARC && !FONTS
41ee89bd6bSGeert Uytterhoeven	help
42ee89bd6bSGeert Uytterhoeven	  This is the "high resolution" font for the VGA frame buffer (the one
43ee89bd6bSGeert Uytterhoeven	  provided by the VGA text console 80x25 mode.
44ee89bd6bSGeert Uytterhoeven
45ee89bd6bSGeert Uytterhoeven	  If unsure, say Y.
46ee89bd6bSGeert Uytterhoeven
47ee89bd6bSGeert Uytterhoevenconfig FONT_6x11
48ee89bd6bSGeert Uytterhoeven	bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
49a2fb4d78SHelge Deller	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
50ee89bd6bSGeert Uytterhoeven	default y if !SPARC && !FONTS && MAC
51ee89bd6bSGeert Uytterhoeven	help
52ee89bd6bSGeert Uytterhoeven	  Small console font with Macintosh-style high-half glyphs.  Some Mac
53ee89bd6bSGeert Uytterhoeven	  framebuffer drivers don't support this one at all.
54ee89bd6bSGeert Uytterhoeven
55ee89bd6bSGeert Uytterhoevenconfig FONT_7x14
56ee89bd6bSGeert Uytterhoeven	bool "console 7x14 font (not supported by all drivers)" if FONTS
57ee89bd6bSGeert Uytterhoeven	depends on FRAMEBUFFER_CONSOLE
58ee89bd6bSGeert Uytterhoeven	help
59ee89bd6bSGeert Uytterhoeven	  Console font with characters just a bit smaller than the default.
60ee89bd6bSGeert Uytterhoeven	  If the standard 8x16 font is a little too big for you, say Y.
61ee89bd6bSGeert Uytterhoeven	  Otherwise, say N.
62ee89bd6bSGeert Uytterhoeven
63ee89bd6bSGeert Uytterhoevenconfig FONT_PEARL_8x8
64ee89bd6bSGeert Uytterhoeven	bool "Pearl (old m68k) console 8x8 font" if FONTS
65ee89bd6bSGeert Uytterhoeven	depends on FRAMEBUFFER_CONSOLE
66ee89bd6bSGeert Uytterhoeven	default y if !SPARC && !FONTS && AMIGA
67ee89bd6bSGeert Uytterhoeven	help
68ee89bd6bSGeert Uytterhoeven	  Small console font with PC-style control-character and high-half
69ee89bd6bSGeert Uytterhoeven	  glyphs.
70ee89bd6bSGeert Uytterhoeven
71ee89bd6bSGeert Uytterhoevenconfig FONT_ACORN_8x8
72ee89bd6bSGeert Uytterhoeven	bool "Acorn console 8x8 font" if FONTS
73ee89bd6bSGeert Uytterhoeven	depends on FRAMEBUFFER_CONSOLE
74ee89bd6bSGeert Uytterhoeven	default y if !SPARC && !FONTS && ARM && ARCH_ACORN
75ee89bd6bSGeert Uytterhoeven	help
76ee89bd6bSGeert Uytterhoeven	  Small console font with PC-style control characters and high-half
77ee89bd6bSGeert Uytterhoeven	  glyphs.
78ee89bd6bSGeert Uytterhoeven
79ee89bd6bSGeert Uytterhoevenconfig FONT_MINI_4x6
80ee89bd6bSGeert Uytterhoeven	bool "Mini 4x6 font"
81ee89bd6bSGeert Uytterhoeven	depends on !SPARC && FONTS
82ee89bd6bSGeert Uytterhoeven
8333ac9dbaSMaarten ter Huurneconfig FONT_6x10
8433ac9dbaSMaarten ter Huurne	bool "Medium-size 6x10 font"
8533ac9dbaSMaarten ter Huurne	depends on !SPARC && FONTS
8633ac9dbaSMaarten ter Huurne	help
8733ac9dbaSMaarten ter Huurne	  Medium-size console font. Suitable for framebuffer consoles on
8833ac9dbaSMaarten ter Huurne	  embedded devices with a 320x240 screen, to get a reasonable number
8933ac9dbaSMaarten ter Huurne	  of characters (53x24) that are still at a readable size.
9033ac9dbaSMaarten ter Huurne
917bcae826SRandy Dunlapconfig FONT_10x18
927bcae826SRandy Dunlap	bool "console 10x18 font (not supported by all drivers)" if FONTS
937bcae826SRandy Dunlap	depends on FRAMEBUFFER_CONSOLE
947bcae826SRandy Dunlap	help
957bcae826SRandy Dunlap	  This is a high resolution console font for machines with very
967bcae826SRandy Dunlap	  big letters. It fits between the sun 12x22 and the normal 8x16 font.
977bcae826SRandy Dunlap	  If other fonts are too big or too small for you, say Y, otherwise say N.
987bcae826SRandy Dunlap
99ee89bd6bSGeert Uytterhoevenconfig FONT_SUN8x16
100ee89bd6bSGeert Uytterhoeven	bool "Sparc console 8x16 font"
101*84b76d05SAndreas Larsson	depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
102*84b76d05SAndreas Larsson		   BOOTX_TEXT || EARLYFB
103ee89bd6bSGeert Uytterhoeven	help
104ee89bd6bSGeert Uytterhoeven	  This is the high resolution console font for Sun machines. Say Y.
105ee89bd6bSGeert Uytterhoeven
106ee89bd6bSGeert Uytterhoevenconfig FONT_SUN12x22
107ee89bd6bSGeert Uytterhoeven	bool "Sparc console 12x22 font (not supported by all drivers)"
108ee89bd6bSGeert Uytterhoeven	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
109ee89bd6bSGeert Uytterhoeven	help
110ee89bd6bSGeert Uytterhoeven	  This is the high resolution console font for Sun machines with very
111ee89bd6bSGeert Uytterhoeven	  big letters (like the letters used in the SPARC PROM). If the
112ee89bd6bSGeert Uytterhoeven	  standard font is unreadable for you, say Y, otherwise say N.
113ee89bd6bSGeert Uytterhoeven
114ac8b6f14SAmanoel Dawodconfig FONT_TER16x32
115ac8b6f14SAmanoel Dawod	bool "Terminus 16x32 font (not supported by all drivers)"
116ac8b6f14SAmanoel Dawod	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
117ac8b6f14SAmanoel Dawod	help
118ac8b6f14SAmanoel Dawod	  Terminus Font is a clean, fixed width bitmap font, designed
119ac8b6f14SAmanoel Dawod	  for long (8 and more hours per day) work with computers.
120ac8b6f14SAmanoel Dawod	  This is the high resolution, large version for use with HiDPI screens.
121ac8b6f14SAmanoel Dawod	  If the standard font is unreadable for you, say Y, otherwise say N.
122ac8b6f14SAmanoel Dawod
123e2028c8eSSven Schneiderconfig FONT_6x8
124e2028c8eSSven Schneider	bool "OLED 6x8 font" if FONTS
125e2028c8eSSven Schneider	depends on FRAMEBUFFER_CONSOLE
126e2028c8eSSven Schneider	help
127e2028c8eSSven Schneider	  This font is useful for small displays (OLED).
128e2028c8eSSven Schneider
129ee89bd6bSGeert Uytterhoevenconfig FONT_AUTOSELECT
130ee89bd6bSGeert Uytterhoeven	def_bool y
131ee89bd6bSGeert Uytterhoeven	depends on !FONT_8x8
132ee89bd6bSGeert Uytterhoeven	depends on !FONT_6x11
133ee89bd6bSGeert Uytterhoeven	depends on !FONT_7x14
134ee89bd6bSGeert Uytterhoeven	depends on !FONT_PEARL_8x8
135ee89bd6bSGeert Uytterhoeven	depends on !FONT_ACORN_8x8
136ee89bd6bSGeert Uytterhoeven	depends on !FONT_MINI_4x6
13733ac9dbaSMaarten ter Huurne	depends on !FONT_6x10
138ee89bd6bSGeert Uytterhoeven	depends on !FONT_SUN8x16
139ee89bd6bSGeert Uytterhoeven	depends on !FONT_SUN12x22
140ee89bd6bSGeert Uytterhoeven	depends on !FONT_10x18
141ac8b6f14SAmanoel Dawod	depends on !FONT_TER16x32
142e2028c8eSSven Schneider	depends on !FONT_6x8
143ee89bd6bSGeert Uytterhoeven	select FONT_8x16
144ee89bd6bSGeert Uytterhoeven
145ee89bd6bSGeert Uytterhoevenendif # FONT_SUPPORT
146