~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/lib/fonts/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only
  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"
 13         depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
 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
 26         depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
 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
 49         depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
 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 || DRM_PANIC
 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 || DRM_PANIC
 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 || DRM_PANIC
 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 
 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 
 91 config FONT_10x18
 92         bool "console 10x18 font (not supported by all drivers)" if FONTS
 93         depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
 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 
 99 config FONT_SUN8x16
100         bool "Sparc console 8x16 font"
101         depends on (FRAMEBUFFER_CONSOLE && (FONTS || SPARC)) || \
102                    BOOTX_TEXT || EARLYFB
103         help
104           This is the high resolution console font for Sun machines. Say Y.
105 
106 config FONT_SUN12x22
107         bool "Sparc console 12x22 font (not supported by all drivers)"
108         depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
109         depends on !SPARC && FONTS
110         help
111           This is the high resolution console font for Sun machines with very
112           big letters (like the letters used in the SPARC PROM). If the
113           standard font is unreadable for you, say Y, otherwise say N.
114 
115 config FONT_TER16x32
116         bool "Terminus 16x32 font (not supported by all drivers)"
117         depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
118         depends on !SPARC && FONTS || SPARC
119         help
120           Terminus Font is a clean, fixed width bitmap font, designed
121           for long (8 and more hours per day) work with computers.
122           This is the high resolution, large version for use with HiDPI screens.
123           If the standard font is unreadable for you, say Y, otherwise say N.
124 
125 config FONT_6x8
126         bool "OLED 6x8 font" if FONTS
127         depends on FRAMEBUFFER_CONSOLE || DRM_PANIC
128         help
129           This font is useful for small displays (OLED).
130 
131 config FONT_AUTOSELECT
132         def_bool y
133         depends on !FONT_8x8
134         depends on !FONT_6x11
135         depends on !FONT_7x14
136         depends on !FONT_PEARL_8x8
137         depends on !FONT_ACORN_8x8
138         depends on !FONT_MINI_4x6
139         depends on !FONT_6x10
140         depends on !FONT_SUN8x16
141         depends on !FONT_SUN12x22
142         depends on !FONT_10x18
143         depends on !FONT_TER16x32
144         depends on !FONT_6x8
145         select FONT_8x16
146 
147 endif # FONT_SUPPORT

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php