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