From 04115b6417387136c28293a8df4075c440222da2 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Sat, 31 May 2025 14:44:13 +0800 Subject: [PATCH] system/ui: Increase font size to reduce edge aliasing (#35401) improve text's antialiasing --- system/ui/lib/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/ui/lib/application.py b/system/ui/lib/application.py index 37da413806..9bb56fec8d 100644 --- a/system/ui/lib/application.py +++ b/system/ui/lib/application.py @@ -202,7 +202,7 @@ class GuiApplication: for index, font_file in enumerate(font_files): with as_file(FONT_DIR.joinpath(font_file)) as fspath: - font = rl.load_font_ex(fspath.as_posix(), 120, codepoints, codepoint_count[0]) + font = rl.load_font_ex(fspath.as_posix(), 200, codepoints, codepoint_count[0]) rl.set_texture_filter(font.texture, rl.TextureFilter.TEXTURE_FILTER_BILINEAR) self._fonts[index] = font