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