xref: /openbmc/linux/lib/fonts/Kconfig (revision 483eb062)
1#
2# Font configuration
3#
4
5config FONT_SUPPORT
6	tristate
7
8if FONT_SUPPORT
9
10config FONTS
11	bool "Select compiled-in fonts"
12	depends on FRAMEBUFFER_CONSOLE
13	help
14	  Say Y here if you would like to use fonts other than the default
15	  your frame buffer console usually use.
16
17	  Note that the answer to this question won't directly affect the
18	  kernel: saying N will just cause the configurator to skip all
19	  the questions about foreign fonts.
20
21	  If unsure, say N (the default choices are safe).
22
23config FONT_8x8
24	bool "VGA 8x8 font" if FONTS
25	depends on FRAMEBUFFER_CONSOLE
26	default y if !SPARC && !FONTS
27	help
28	  This is the "high resolution" font for the VGA frame buffer (the one
29	  provided by the text console 80x50 (and higher) modes).
30
31	  Note that this is a poor quality font. The VGA 8x16 font is quite a
32	  lot more readable.
33
34	  Given the resolution provided by the frame buffer device, answer N
35	  here is safe.
36
37config FONT_8x16
38	bool "VGA 8x16 font" if FONTS
39	default y if !SPARC && !FONTS
40	help
41	  This is the "high resolution" font for the VGA frame buffer (the one
42	  provided by the VGA text console 80x25 mode.
43
44	  If unsure, say Y.
45
46config FONT_6x11
47	bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
48	depends on FRAMEBUFFER_CONSOLE
49	default y if !SPARC && !FONTS && MAC
50	help
51	  Small console font with Macintosh-style high-half glyphs.  Some Mac
52	  framebuffer drivers don't support this one at all.
53
54config FONT_7x14
55	bool "console 7x14 font (not supported by all drivers)" if FONTS
56	depends on FRAMEBUFFER_CONSOLE
57	help
58	  Console font with characters just a bit smaller than the default.
59	  If the standard 8x16 font is a little too big for you, say Y.
60	  Otherwise, say N.
61
62config FONT_PEARL_8x8
63	bool "Pearl (old m68k) console 8x8 font" if FONTS
64	depends on FRAMEBUFFER_CONSOLE
65	default y if !SPARC && !FONTS && AMIGA
66	help
67	  Small console font with PC-style control-character and high-half
68	  glyphs.
69
70config FONT_ACORN_8x8
71	bool "Acorn console 8x8 font" if FONTS
72	depends on FRAMEBUFFER_CONSOLE
73	default y if !SPARC && !FONTS && ARM && ARCH_ACORN
74	help
75	  Small console font with PC-style control characters and high-half
76	  glyphs.
77
78config FONT_MINI_4x6
79	bool "Mini 4x6 font"
80	depends on !SPARC && FONTS
81
82config FONT_SUN8x16
83	bool "Sparc console 8x16 font"
84	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
85	help
86	  This is the high resolution console font for Sun machines. Say Y.
87
88config FONT_SUN12x22
89	bool "Sparc console 12x22 font (not supported by all drivers)"
90	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
91	help
92	  This is the high resolution console font for Sun machines with very
93	  big letters (like the letters used in the SPARC PROM). If the
94	  standard font is unreadable for you, say Y, otherwise say N.
95
96config FONT_10x18
97	bool "console 10x18 font (not supported by all drivers)" if FONTS
98	depends on FRAMEBUFFER_CONSOLE
99	help
100	  This is a high resolution console font for machines with very
101	  big letters. It fits between the sun 12x22 and the normal 8x16 font.
102	  If other fonts are too big or too small for you, say Y, otherwise say N.
103
104config FONT_AUTOSELECT
105	def_bool y
106	depends on !FONT_8x8
107	depends on !FONT_6x11
108	depends on !FONT_7x14
109	depends on !FONT_PEARL_8x8
110	depends on !FONT_ACORN_8x8
111	depends on !FONT_MINI_4x6
112	depends on !FONT_SUN8x16
113	depends on !FONT_SUN12x22
114	depends on !FONT_10x18
115	select FONT_8x16
116
117endif # FONT_SUPPORT
118