From 49b1e82e55df12e0b059d8d281389328b70315da Mon Sep 17 00:00:00 2001 From: Alec Murphy Date: Tue, 15 Apr 2025 11:54:53 -0400 Subject: [PATCH] System/Core/Compositor: Update defaults for TrueType fonts --- System/Core/Compositor.HC | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/System/Core/Compositor.HC b/System/Core/Compositor.HC index f1233f1..7fb5082 100644 --- a/System/Core/Compositor.HC +++ b/System/Core/Compositor.HC @@ -18,8 +18,11 @@ U0 @truetype_init_fonts() } DirTreeDel(font_files); Fonts->set("sans-serif", Fonts->@("Free Sans"), JSON_NUMBER); + Fonts->set("sans-serif Bold", Fonts->@("Free Sans Bold"), JSON_NUMBER); Fonts->set("serif", Fonts->@("Free Serif"), JSON_NUMBER); - Fonts->set("monospace", Fonts->@("Free Mono"), JSON_NUMBER); + Fonts->set("serif Bold", Fonts->@("Free Serif Bold"), JSON_NUMBER); + Fonts->set("monospace", Fonts->@("Free Monospaced"), JSON_NUMBER); + Fonts->set("monospace Bold", Fonts->@("Free Monospaced Bold"), JSON_NUMBER); } @truetype_init_fonts;