From 51af094f5a7b4ab7811a5f249f9689637ac813b3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 18 Jul 2019 20:08:22 -0400 Subject: lib/fonts/*.c: Add fonts from upstream Linux The macros, declarations, and array are all sorted according to the array in Linux's lib/fonts/fonts.c, since that affects picking a default font and finding a font by name (if there were conflicts, which there aren't). --- (limited to 'src') diff --git a/src/font.c b/src/font.c index 4db93ab..ecfc18d 100644 --- a/src/font.c +++ b/src/font.c @@ -43,6 +43,17 @@ struct font { }; static const struct font_desc *fonts[] = { + &font_vga_8x8, + &font_vga_8x16, + &font_vga_6x11, + &font_7x14, + &font_sun_8x16, + &font_sun_12x22, + &font_10x18, + &font_acorn_8x8, + &font_pearl_8x8, + &font_mini_4x6, + &font_6x10, &font_mplus_1mn_medium_10x14, &font_mplus_1mn_regular_12x17, &font_mplus_1mn_regular_14x19, -- cgit v0.9.1