18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Font configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig FONT_SUPPORT
78c2ecf20Sopenharmony_ci	tristate
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciif FONT_SUPPORT
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciconfig FONTS
128c2ecf20Sopenharmony_ci	bool "Select compiled-in fonts"
138c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
148c2ecf20Sopenharmony_ci	help
158c2ecf20Sopenharmony_ci	  Say Y here if you would like to use fonts other than the default
168c2ecf20Sopenharmony_ci	  your frame buffer console usually use.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	  Note that the answer to this question won't directly affect the
198c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
208c2ecf20Sopenharmony_ci	  the questions about foreign fonts.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	  If unsure, say N (the default choices are safe).
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig FONT_8x8
258c2ecf20Sopenharmony_ci	bool "VGA 8x8 font" if FONTS
268c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
278c2ecf20Sopenharmony_ci	default y if !SPARC && !FONTS
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  This is the "high resolution" font for the VGA frame buffer (the one
308c2ecf20Sopenharmony_ci	  provided by the text console 80x50 (and higher) modes).
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	  Note that this is a poor quality font. The VGA 8x16 font is quite a
338c2ecf20Sopenharmony_ci	  lot more readable.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	  Given the resolution provided by the frame buffer device, answer N
368c2ecf20Sopenharmony_ci	  here is safe.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciconfig FONT_8x16
398c2ecf20Sopenharmony_ci	bool "VGA 8x16 font" if FONTS
408c2ecf20Sopenharmony_ci	default y if !SPARC && !FONTS
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	  This is the "high resolution" font for the VGA frame buffer (the one
438c2ecf20Sopenharmony_ci	  provided by the VGA text console 80x25 mode.
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci	  If unsure, say Y.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig FONT_6x11
488c2ecf20Sopenharmony_ci	bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
498c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
508c2ecf20Sopenharmony_ci	default y if !SPARC && !FONTS && MAC
518c2ecf20Sopenharmony_ci	help
528c2ecf20Sopenharmony_ci	  Small console font with Macintosh-style high-half glyphs.  Some Mac
538c2ecf20Sopenharmony_ci	  framebuffer drivers don't support this one at all.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciconfig FONT_7x14
568c2ecf20Sopenharmony_ci	bool "console 7x14 font (not supported by all drivers)" if FONTS
578c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE
588c2ecf20Sopenharmony_ci	help
598c2ecf20Sopenharmony_ci	  Console font with characters just a bit smaller than the default.
608c2ecf20Sopenharmony_ci	  If the standard 8x16 font is a little too big for you, say Y.
618c2ecf20Sopenharmony_ci	  Otherwise, say N.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciconfig FONT_PEARL_8x8
648c2ecf20Sopenharmony_ci	bool "Pearl (old m68k) console 8x8 font" if FONTS
658c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE
668c2ecf20Sopenharmony_ci	default y if !SPARC && !FONTS && AMIGA
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci	  Small console font with PC-style control-character and high-half
698c2ecf20Sopenharmony_ci	  glyphs.
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciconfig FONT_ACORN_8x8
728c2ecf20Sopenharmony_ci	bool "Acorn console 8x8 font" if FONTS
738c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE
748c2ecf20Sopenharmony_ci	default y if !SPARC && !FONTS && ARM && ARCH_ACORN
758c2ecf20Sopenharmony_ci	help
768c2ecf20Sopenharmony_ci	  Small console font with PC-style control characters and high-half
778c2ecf20Sopenharmony_ci	  glyphs.
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ciconfig FONT_MINI_4x6
808c2ecf20Sopenharmony_ci	bool "Mini 4x6 font"
818c2ecf20Sopenharmony_ci	depends on !SPARC && FONTS
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ciconfig FONT_6x10
848c2ecf20Sopenharmony_ci	bool "Medium-size 6x10 font"
858c2ecf20Sopenharmony_ci	depends on !SPARC && FONTS
868c2ecf20Sopenharmony_ci	help
878c2ecf20Sopenharmony_ci	  Medium-size console font. Suitable for framebuffer consoles on
888c2ecf20Sopenharmony_ci	  embedded devices with a 320x240 screen, to get a reasonable number
898c2ecf20Sopenharmony_ci	  of characters (53x24) that are still at a readable size.
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ciconfig FONT_10x18
928c2ecf20Sopenharmony_ci	bool "console 10x18 font (not supported by all drivers)" if FONTS
938c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE
948c2ecf20Sopenharmony_ci	help
958c2ecf20Sopenharmony_ci	  This is a high resolution console font for machines with very
968c2ecf20Sopenharmony_ci	  big letters. It fits between the sun 12x22 and the normal 8x16 font.
978c2ecf20Sopenharmony_ci	  If other fonts are too big or too small for you, say Y, otherwise say N.
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ciconfig FONT_SUN8x16
1008c2ecf20Sopenharmony_ci	bool "Sparc console 8x16 font"
1018c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
1028c2ecf20Sopenharmony_ci	help
1038c2ecf20Sopenharmony_ci	  This is the high resolution console font for Sun machines. Say Y.
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ciconfig FONT_SUN12x22
1068c2ecf20Sopenharmony_ci	bool "Sparc console 12x22 font (not supported by all drivers)"
1078c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
1088c2ecf20Sopenharmony_ci	help
1098c2ecf20Sopenharmony_ci	  This is the high resolution console font for Sun machines with very
1108c2ecf20Sopenharmony_ci	  big letters (like the letters used in the SPARC PROM). If the
1118c2ecf20Sopenharmony_ci	  standard font is unreadable for you, say Y, otherwise say N.
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_ciconfig FONT_TER16x32
1148c2ecf20Sopenharmony_ci	bool "Terminus 16x32 font (not supported by all drivers)"
1158c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
1168c2ecf20Sopenharmony_ci	help
1178c2ecf20Sopenharmony_ci	  Terminus Font is a clean, fixed width bitmap font, designed
1188c2ecf20Sopenharmony_ci	  for long (8 and more hours per day) work with computers.
1198c2ecf20Sopenharmony_ci	  This is the high resolution, large version for use with HiDPI screens.
1208c2ecf20Sopenharmony_ci	  If the standard font is unreadable for you, say Y, otherwise say N.
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ciconfig FONT_6x8
1238c2ecf20Sopenharmony_ci	bool "OLED 6x8 font" if FONTS
1248c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE
1258c2ecf20Sopenharmony_ci	help
1268c2ecf20Sopenharmony_ci	  This font is useful for small displays (OLED).
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ciconfig FONT_AUTOSELECT
1298c2ecf20Sopenharmony_ci	def_bool y
1308c2ecf20Sopenharmony_ci	depends on !FONT_8x8
1318c2ecf20Sopenharmony_ci	depends on !FONT_6x11
1328c2ecf20Sopenharmony_ci	depends on !FONT_7x14
1338c2ecf20Sopenharmony_ci	depends on !FONT_PEARL_8x8
1348c2ecf20Sopenharmony_ci	depends on !FONT_ACORN_8x8
1358c2ecf20Sopenharmony_ci	depends on !FONT_MINI_4x6
1368c2ecf20Sopenharmony_ci	depends on !FONT_6x10
1378c2ecf20Sopenharmony_ci	depends on !FONT_SUN8x16
1388c2ecf20Sopenharmony_ci	depends on !FONT_SUN12x22
1398c2ecf20Sopenharmony_ci	depends on !FONT_10x18
1408c2ecf20Sopenharmony_ci	depends on !FONT_TER16x32
1418c2ecf20Sopenharmony_ci	depends on !FONT_6x8
1428c2ecf20Sopenharmony_ci	select FONT_8x16
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ciendif # FONT_SUPPORT
145