From f638d01289614cb41a5d7b72a08b3007ee5f2b46 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 3 Aug 2021 16:57:54 +0800 Subject: [PATCH] fix a minor issue in hosted mode --- services/graphics-server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index c7313a52a..96fadd6bf 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -56,7 +56,7 @@ fn map_fonts() -> MemoryRange { #[cfg(not(target_os = "none"))] fn map_fonts() -> MemoryRange { // does nothing - let fontlen: u32 = ((fontmap::FONT_TOTAL_LEN as u32) & 0xFFFF_F000) + 0x1000 + 8; + let fontlen: u32 = ((fontmap::FONT_TOTAL_LEN as u32 + 8) & 0xFFFF_F000) + 0x1000; let fontregion = xous::syscall::map_memory( None, None,