File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323FONT_DIR = ASSETS_DIR .joinpath ("fonts" )
2424
2525class FontWeight (IntEnum ):
26- BLACK = 0
27- BOLD = 1
28- EXTRA_BOLD = 2
29- EXTRA_LIGHT = 3
26+ THIN = 0
27+ EXTRA_LIGHT = 1
28+ LIGHT = 2
29+ NORMAL = 3
3030 MEDIUM = 4
31- NORMAL = 5
32- SEMI_BOLD = 6
33- THIN = 7
31+ SEMI_BOLD = 5
32+ BOLD = 6
33+ EXTRA_BOLD = 7
34+ BLACK = 8
3435
3536
3637class GuiApplication :
@@ -153,14 +154,15 @@ def height(self):
153154
154155 def _load_fonts (self ):
155156 font_files = (
156- "Inter-Black.ttf" ,
157- "Inter-Bold.ttf" ,
158- "Inter-ExtraBold.ttf" ,
157+ "Inter-Thin.ttf" ,
159158 "Inter-ExtraLight.ttf" ,
160- "Inter-Medium .ttf" ,
159+ "Inter-Light .ttf" ,
161160 "Inter-Regular.ttf" ,
161+ "Inter-Medium.ttf" ,
162162 "Inter-SemiBold.ttf" ,
163- "Inter-Thin.ttf"
163+ "Inter-Bold.ttf" ,
164+ "Inter-ExtraBold.ttf" ,
165+ "Inter-Black.ttf" ,
164166 )
165167
166168 for index , font_file in enumerate (font_files ):
You can’t perform that action at this time.
0 commit comments