mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
ui: stop loading unused fonts (#36493)
Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
@@ -43,15 +43,11 @@ FONT_DIR = ASSETS_DIR.joinpath("fonts")
|
||||
|
||||
|
||||
class FontWeight(StrEnum):
|
||||
THIN = "Inter-Thin.fnt"
|
||||
EXTRA_LIGHT = "Inter-ExtraLight.fnt"
|
||||
LIGHT = "Inter-Light.fnt"
|
||||
NORMAL = "Inter-Regular.fnt"
|
||||
MEDIUM = "Inter-Medium.fnt"
|
||||
SEMI_BOLD = "Inter-SemiBold.fnt"
|
||||
BOLD = "Inter-Bold.fnt"
|
||||
EXTRA_BOLD = "Inter-ExtraBold.fnt"
|
||||
BLACK = "Inter-Black.fnt"
|
||||
UNIFONT = "unifont.fnt"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user