Skip to content

Commit 8a10bc9

Browse files
committed
parisc/sti_console: prefer Linux fonts over built-in ROM fonts
The built-in ROM fonts lack many necessary ASCII characters, which is why it makes sens to prefer the Linux fonts instead if they are available. This makes consoles on STI graphics cards which are not supported by the stifb driver (e.g. Visualize FXe) looks much nicer. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # v3.13
1 parent 602456b commit 8a10bc9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/video/console/sticore.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ static int sti_init_glob_cfg(struct sti_struct *sti, unsigned long rom_address,
488488
return 0;
489489
}
490490

491-
#ifdef CONFIG_FONTS
491+
#ifdef CONFIG_FONT_SUPPORT
492492
static struct sti_cooked_font *
493493
sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
494494
{

‎lib/fonts/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if FONT_SUPPORT
99

1010
config FONTS
1111
bool "Select compiled-in fonts"
12-
depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
12+
depends on FRAMEBUFFER_CONSOLE
1313
help
1414
Say Y here if you would like to use fonts other than the default
1515
your frame buffer console usually use.
@@ -22,7 +22,7 @@ config FONTS
2222

2323
config FONT_8x8
2424
bool "VGA 8x8 font" if FONTS
25-
depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
25+
depends on FRAMEBUFFER_CONSOLE
2626
default y if !SPARC && !FONTS
2727
help
2828
This is the "high resolution" font for the VGA frame buffer (the one
@@ -45,7 +45,7 @@ config FONT_8x16
4545

4646
config FONT_6x11
4747
bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
48-
depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
48+
depends on FRAMEBUFFER_CONSOLE
4949
default y if !SPARC && !FONTS && MAC
5050
help
5151
Small console font with Macintosh-style high-half glyphs. Some Mac

0 commit comments

Comments
 (0)