diff options
author | Nao Pross <np@0hm.ch> | 2021-12-14 19:47:02 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-12-14 19:47:02 +0100 |
commit | f40734fa7e6919b2d9e3d1cb6b1fd4f530bb3e7d (patch) | |
tree | 461ffdcc369e13dd66e932c8480942d294879716 /src/gui/gui.py | |
parent | Attempt CAZAC correlation codes in 16-QAM (not working) (diff) | |
download | Fading-f40734fa7e6919b2d9e3d1cb6b1fd4f530bb3e7d.tar.gz Fading-f40734fa7e6919b2d9e3d1cb6b1fd4f530bb3e7d.zip |
Add back (another) custom font
Diffstat (limited to '')
-rwxr-xr-x | src/gui/gui.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/gui.py b/src/gui/gui.py index 5d86de1..9f63452 100755 --- a/src/gui/gui.py +++ b/src/gui/gui.py @@ -88,11 +88,11 @@ plots_locked = True # Set up theme and looks # Font -# with font_registry(): -# # first argument ids the path to the .ttf or .otf file -# default_font = add_font("NotoSerifCJKjp-Medium.otf", 20) -# second_font = add_font("NotoSerifCJKjp-Medium.otf", 10) -# test = add_font("NotoSerifCJKjp-Medium.otf", 30) +with font_registry(): + # first argument ids the path to the .ttf or .otf file + default_font = add_font("res/ttf/Hack-Regular.ttf", 20) + # second_font = add_font("NotoSerifCJKjp-Medium.otf", 10) + # test = add_font("NotoSerifCJKjp-Medium.otf", 30) # Constellation diagrams with theme(tag="constellation_series_theme"): @@ -113,7 +113,7 @@ def exit(sender, data): with window(tag="primary_window"): # Grössere Schrifftart/ Grösse für das ganze Dokument definiert - # bind_font(default_font) + bind_font(default_font) with menu_bar(): with menu(label="Settings"): |