BigUI WIP: Some Font Smoothing

This commit is contained in:
firestarsdog
2026-04-06 22:23:37 -04:00
parent 49f2e2854a
commit ad948aa93e
5 changed files with 29 additions and 27 deletions
+1 -2
View File
@@ -657,8 +657,7 @@ class GuiApplication:
for font_weight_file in FontWeight:
fnt_path = fspath / font_weight_file
font = rl.load_font(fnt_path.as_posix())
if font_weight_file != FontWeight.UNIFONT:
rl.set_texture_filter(font.texture, rl.TextureFilter.TEXTURE_FILTER_BILINEAR)
rl.set_texture_filter(font.texture, rl.TextureFilter.TEXTURE_FILTER_BILINEAR)
self._fonts[font_weight_file] = font
rl.gui_set_font(self._fonts[FontWeight.NORMAL])