diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-17 15:46:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 15:46:44 +0200 |
commit | 107651806f1b922f672ec1b87766b765202cbbd7 (patch) | |
tree | 290d095954459480ddaf84401163b80483cd49da /scene/resources/default_theme/SCsub | |
parent | 9cc17a8439d4909324da014a1d2e90cfaa9fb979 (diff) | |
parent | d211c05111eed90baa7e70cb4e818fd328e97770 (diff) |
Merge pull request #39603 from Calinou/default-theme-use-dynamicfont
Diffstat (limited to 'scene/resources/default_theme/SCsub')
-rw-r--r-- | scene/resources/default_theme/SCsub | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scene/resources/default_theme/SCsub b/scene/resources/default_theme/SCsub index fc61250247..0fb6bb2c62 100644 --- a/scene/resources/default_theme/SCsub +++ b/scene/resources/default_theme/SCsub @@ -2,4 +2,16 @@ Import("env") +import os +import os.path +from platform_methods import run_in_subprocess +import default_theme_builders + env.add_source_files(env.scene_sources, "*.cpp") + +env.Depends("#scene/resources/default_theme/default_font.gen.h", "#thirdparty/fonts/OpenSans_SemiBold.ttf") +env.CommandNoCache( + "#scene/resources/default_theme/default_font.gen.h", + "#thirdparty/fonts/OpenSans_SemiBold.ttf", + run_in_subprocess(default_theme_builders.make_fonts_header), +) |