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