Kconfig 4.3 KB

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