From d70791660539d69ec216e70ac66c0b762ecf30b8 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sat, 8 Oct 2022 08:22:24 +0900 Subject: [PATCH] [USETUP][VGAFONTS] Improve Japanese character display - Modify media/vgafonts/932-8x8.bin Japanese VGA font. - Use special codepoints of new font 932-8x8.bin. Appendum of #4750. Line connection bug still remains. CORE-5052 --- base/setup/usetup/mui.c | 6 +----- media/vgafonts/932-8x8.bin | Bin 2048 -> 2048 bytes 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/base/setup/usetup/mui.c b/base/setup/usetup/mui.c index 9360cbf5554..7fab3ab131b 100644 --- a/base/setup/usetup/mui.c +++ b/base/setup/usetup/mui.c @@ -560,6 +560,7 @@ SetConsoleCodePage(VOID) switch (wCodePage) { case 28606: /* Romanian */ + case 932: /* Japanese */ /* Set special characters */ CharBullet = 0x07; CharBlock = 0x01; @@ -584,11 +585,6 @@ SetConsoleCodePage(VOID) /* FIXME: Enter 640x400 video mode */ break; - case 932: /* Japanese */ - /* FIXME: Set special characters */ - /* FIXME: Enter 640x400 video mode */ - break; - default: /* Other codepages */ /* Set special characters */ CharBullet = 0x07; diff --git a/media/vgafonts/932-8x8.bin b/media/vgafonts/932-8x8.bin index 18128a728a7143db34f7eda8b9a68c28f93787eb..6d47b288c906b1a93781dbb15a890dd6651489e6 100644 GIT binary patch delta 183 zcmXYpu?>JQ3LWFZPRql!``*w&w=_xo+R#u{&sNj@Uw5(Oq# z5x<(MHXG^+W2`;{o!ySr%F5m?AfB5jU1ZZoQw!J$aHOmr7@>KV)8YFT#`~Ph4|&!o AxBvhE delta 183 zcmZn=Xb`ApfCGC4eGLr_28JITFMza$hQ5M5P)