From e2594a300025d043984c7de17194cc8296f53f8c Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 20 Oct 2023 00:39:03 +0800 Subject: [PATCH] fix visibility of default font --- services/graphics-server/src/api/text.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graphics-server/src/api/text.rs b/services/graphics-server/src/api/text.rs index 75b32bfa1..6b9bea76b 100644 --- a/services/graphics-server/src/api/text.rs +++ b/services/graphics-server/src/api/text.rs @@ -79,7 +79,7 @@ impl From for TextOp { // roughly 168 bytes to represent the rest of the struct, and we want to fill out the 4096 byte page with text const TEXTVIEW_LEN: usize = 3072; -const TEXTVIEW_DEFAULT_STYLE: GlyphStyle = GlyphStyle::Regular; +pub const TEXTVIEW_DEFAULT_STYLE: GlyphStyle = GlyphStyle::Regular; #[derive(Copy, Clone, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize)] pub struct TextView {