system/ui: Increase font size to reduce edge aliasing (#35401)

improve text's antialiasing
pull/35394/head^2
Dean Lee 2 weeks ago committed by GitHub
parent 62a7a19d27
commit 04115b6417
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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

Loading…
Cancel
Save