xref: /linux/lib/fonts/Kconfig (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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"
13b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
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
26b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
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
49b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
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
57b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
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
65b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
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
73b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
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
93b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
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"
10184b76d05SAndreas Larsson	depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
10284b76d05SAndreas 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)"
108*a03a84beSGeert Uytterhoeven	depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
109*a03a84beSGeert Uytterhoeven	depends on !SPARC && FONTS
110ee89bd6bSGeert Uytterhoeven	help
111ee89bd6bSGeert Uytterhoeven	  This is the high resolution console font for Sun machines with very
112ee89bd6bSGeert Uytterhoeven	  big letters (like the letters used in the SPARC PROM). If the
113ee89bd6bSGeert Uytterhoeven	  standard font is unreadable for you, say Y, otherwise say N.
114ee89bd6bSGeert Uytterhoeven
115ac8b6f14SAmanoel Dawodconfig FONT_TER16x32
116ac8b6f14SAmanoel Dawod	bool "Terminus 16x32 font (not supported by all drivers)"
117*a03a84beSGeert Uytterhoeven	depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
118*a03a84beSGeert Uytterhoeven	depends on !SPARC && FONTS || SPARC
119ac8b6f14SAmanoel Dawod	help
120ac8b6f14SAmanoel Dawod	  Terminus Font is a clean, fixed width bitmap font, designed
121ac8b6f14SAmanoel Dawod	  for long (8 and more hours per day) work with computers.
122ac8b6f14SAmanoel Dawod	  This is the high resolution, large version for use with HiDPI screens.
123ac8b6f14SAmanoel Dawod	  If the standard font is unreadable for you, say Y, otherwise say N.
124ac8b6f14SAmanoel Dawod
125e2028c8eSSven Schneiderconfig FONT_6x8
126e2028c8eSSven Schneider	bool "OLED 6x8 font" if FONTS
127b94605a3SJocelyn Falempe	depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
128e2028c8eSSven Schneider	help
129e2028c8eSSven Schneider	  This font is useful for small displays (OLED).
130e2028c8eSSven Schneider
131ee89bd6bSGeert Uytterhoevenconfig FONT_AUTOSELECT
132ee89bd6bSGeert Uytterhoeven	def_bool y
133ee89bd6bSGeert Uytterhoeven	depends on !FONT_8x8
134ee89bd6bSGeert Uytterhoeven	depends on !FONT_6x11
135ee89bd6bSGeert Uytterhoeven	depends on !FONT_7x14
136ee89bd6bSGeert Uytterhoeven	depends on !FONT_PEARL_8x8
137ee89bd6bSGeert Uytterhoeven	depends on !FONT_ACORN_8x8
138ee89bd6bSGeert Uytterhoeven	depends on !FONT_MINI_4x6
13933ac9dbaSMaarten ter Huurne	depends on !FONT_6x10
140ee89bd6bSGeert Uytterhoeven	depends on !FONT_SUN8x16
141ee89bd6bSGeert Uytterhoeven	depends on !FONT_SUN12x22
142ee89bd6bSGeert Uytterhoeven	depends on !FONT_10x18
143ac8b6f14SAmanoel Dawod	depends on !FONT_TER16x32
144e2028c8eSSven Schneider	depends on !FONT_6x8
145ee89bd6bSGeert Uytterhoeven	select FONT_8x16
146ee89bd6bSGeert Uytterhoeven
147ee89bd6bSGeert Uytterhoevenendif # FONT_SUPPORT
148