From 306bcd9d73b8078a9a5aaafb87892a95a4d359ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Tue, 25 Jun 2019 02:21:25 +0200 Subject: [PATCH 1/1] [BLUE] Initialize the console with a default font for codepage 437. --- drivers/setup/blue/blue.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/setup/blue/blue.c b/drivers/setup/blue/blue.c index 7367cead5f6..1403c19ef57 100644 --- a/drivers/setup/blue/blue.c +++ b/drivers/setup/blue/blue.c @@ -211,6 +211,9 @@ ScrAcquireOwnership(PDEVICE_EXTENSION DeviceExtension) DeviceExtension->Rows = 30; #endif + /* Upload a default font for the default codepage 437 */ + ScrLoadFontTable(437); + DPRINT ("%d Columns %d Rows %d Scanlines\n", DeviceExtension->Columns, DeviceExtension->Rows, @@ -864,7 +867,7 @@ ScrIoControl(PDEVICE_OBJECT DeviceObject, if (!InbvCheckDisplayOwnership()) { - // Upload a font for the codepage if needed + /* Upload a font for the codepage if needed */ ScrLoadFontTable(CodePage); } -- 2.17.1