0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Font configuration
0004 #
0005
0006 config FONT_SUPPORT
0007 tristate
0008
0009 if FONT_SUPPORT
0010
0011 config FONTS
0012 bool "Select compiled-in fonts"
0013 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
0014 help
0015 Say Y here if you would like to use fonts other than the default
0016 your frame buffer console usually use.
0017
0018 Note that the answer to this question won't directly affect the
0019 kernel: saying N will just cause the configurator to skip all
0020 the questions about foreign fonts.
0021
0022 If unsure, say N (the default choices are safe).
0023
0024 config FONT_8x8
0025 bool "VGA 8x8 font" if FONTS
0026 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
0027 default y if !SPARC && !FONTS
0028 help
0029 This is the "high resolution" font for the VGA frame buffer (the one
0030 provided by the text console 80x50 (and higher) modes).
0031
0032 Note that this is a poor quality font. The VGA 8x16 font is quite a
0033 lot more readable.
0034
0035 Given the resolution provided by the frame buffer device, answer N
0036 here is safe.
0037
0038 config FONT_8x16
0039 bool "VGA 8x16 font" if FONTS
0040 default y if !SPARC && !FONTS
0041 help
0042 This is the "high resolution" font for the VGA frame buffer (the one
0043 provided by the VGA text console 80x25 mode.
0044
0045 If unsure, say Y.
0046
0047 config FONT_6x11
0048 bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
0049 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
0050 default y if !SPARC && !FONTS && MAC
0051 help
0052 Small console font with Macintosh-style high-half glyphs. Some Mac
0053 framebuffer drivers don't support this one at all.
0054
0055 config FONT_7x14
0056 bool "console 7x14 font (not supported by all drivers)" if FONTS
0057 depends on FRAMEBUFFER_CONSOLE
0058 help
0059 Console font with characters just a bit smaller than the default.
0060 If the standard 8x16 font is a little too big for you, say Y.
0061 Otherwise, say N.
0062
0063 config FONT_PEARL_8x8
0064 bool "Pearl (old m68k) console 8x8 font" if FONTS
0065 depends on FRAMEBUFFER_CONSOLE
0066 default y if !SPARC && !FONTS && AMIGA
0067 help
0068 Small console font with PC-style control-character and high-half
0069 glyphs.
0070
0071 config FONT_ACORN_8x8
0072 bool "Acorn console 8x8 font" if FONTS
0073 depends on FRAMEBUFFER_CONSOLE
0074 default y if !SPARC && !FONTS && ARM && ARCH_ACORN
0075 help
0076 Small console font with PC-style control characters and high-half
0077 glyphs.
0078
0079 config FONT_MINI_4x6
0080 bool "Mini 4x6 font"
0081 depends on !SPARC && FONTS
0082
0083 config FONT_6x10
0084 bool "Medium-size 6x10 font"
0085 depends on !SPARC && FONTS
0086 help
0087 Medium-size console font. Suitable for framebuffer consoles on
0088 embedded devices with a 320x240 screen, to get a reasonable number
0089 of characters (53x24) that are still at a readable size.
0090
0091 config FONT_10x18
0092 bool "console 10x18 font (not supported by all drivers)" if FONTS
0093 depends on FRAMEBUFFER_CONSOLE
0094 help
0095 This is a high resolution console font for machines with very
0096 big letters. It fits between the sun 12x22 and the normal 8x16 font.
0097 If other fonts are too big or too small for you, say Y, otherwise say N.
0098
0099 config FONT_SUN8x16
0100 bool "Sparc console 8x16 font"
0101 depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
0102 help
0103 This is the high resolution console font for Sun machines. Say Y.
0104
0105 config FONT_SUN12x22
0106 bool "Sparc console 12x22 font (not supported by all drivers)"
0107 depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
0108 help
0109 This is the high resolution console font for Sun machines with very
0110 big letters (like the letters used in the SPARC PROM). If the
0111 standard font is unreadable for you, say Y, otherwise say N.
0112
0113 config FONT_TER16x32
0114 bool "Terminus 16x32 font (not supported by all drivers)"
0115 depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
0116 help
0117 Terminus Font is a clean, fixed width bitmap font, designed
0118 for long (8 and more hours per day) work with computers.
0119 This is the high resolution, large version for use with HiDPI screens.
0120 If the standard font is unreadable for you, say Y, otherwise say N.
0121
0122 config FONT_6x8
0123 bool "OLED 6x8 font" if FONTS
0124 depends on FRAMEBUFFER_CONSOLE
0125 help
0126 This font is useful for small displays (OLED).
0127
0128 config FONT_AUTOSELECT
0129 def_bool y
0130 depends on !FONT_8x8
0131 depends on !FONT_6x11
0132 depends on !FONT_7x14
0133 depends on !FONT_PEARL_8x8
0134 depends on !FONT_ACORN_8x8
0135 depends on !FONT_MINI_4x6
0136 depends on !FONT_6x10
0137 depends on !FONT_SUN8x16
0138 depends on !FONT_SUN12x22
0139 depends on !FONT_10x18
0140 depends on !FONT_TER16x32
0141 depends on !FONT_6x8
0142 select FONT_8x16
0143
0144 endif # FONT_SUPPORT