xref: /openbmc/linux/lib/fonts/Kconfig (revision 5b4cb650)
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 || STI_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 || STI_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 || STI_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_6x10
83	bool "Medium-size 6x10 font"
84	depends on !SPARC && FONTS
85	help
86	  Medium-size console font. Suitable for framebuffer consoles on
87	  embedded devices with a 320x240 screen, to get a reasonable number
88	  of characters (53x24) that are still at a readable size.
89
90config FONT_10x18
91	bool "console 10x18 font (not supported by all drivers)" if FONTS
92	depends on FRAMEBUFFER_CONSOLE
93	help
94	  This is a high resolution console font for machines with very
95	  big letters. It fits between the sun 12x22 and the normal 8x16 font.
96	  If other fonts are too big or too small for you, say Y, otherwise say N.
97
98config FONT_SUN8x16
99	bool "Sparc console 8x16 font"
100	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
101	help
102	  This is the high resolution console font for Sun machines. Say Y.
103
104config FONT_SUN12x22
105	bool "Sparc console 12x22 font (not supported by all drivers)"
106	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
107	help
108	  This is the high resolution console font for Sun machines with very
109	  big letters (like the letters used in the SPARC PROM). If the
110	  standard font is unreadable for you, say Y, otherwise say N.
111
112config FONT_TER16x32
113	bool "Terminus 16x32 font (not supported by all drivers)"
114	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
115	help
116	  Terminus Font is a clean, fixed width bitmap font, designed
117	  for long (8 and more hours per day) work with computers.
118	  This is the high resolution, large version for use with HiDPI screens.
119	  If the standard font is unreadable for you, say Y, otherwise say N.
120
121config FONT_AUTOSELECT
122	def_bool y
123	depends on !FONT_8x8
124	depends on !FONT_6x11
125	depends on !FONT_7x14
126	depends on !FONT_PEARL_8x8
127	depends on !FONT_ACORN_8x8
128	depends on !FONT_MINI_4x6
129	depends on !FONT_6x10
130	depends on !FONT_SUN8x16
131	depends on !FONT_SUN12x22
132	depends on !FONT_10x18
133	depends on !FONT_TER16x32
134	select FONT_8x16
135
136endif # FONT_SUPPORT
137