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