summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-25 10:54:32 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-25 11:45:55 +0200
commit78051f93a37c560bc231385f21facd71bf206639 (patch)
treedeee3f38c9a44d84db7d3845e0a8d73df0cc6bd8 /scene/resources
parent3990152f6b7fcbac39ed68f0cc0fd36131bc9e2f (diff)
Convert the editor and default theme fonts to WOFF2 format to save space.
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/default_theme/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/default_theme/SCsub b/scene/resources/default_theme/SCsub
index f27bd9144e..5bef7e5a6c 100644
--- a/scene/resources/default_theme/SCsub
+++ b/scene/resources/default_theme/SCsub
@@ -8,10 +8,10 @@ import default_theme_icons_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.Depends("#scene/resources/default_theme/default_font.gen.h", "#thirdparty/fonts/OpenSans_SemiBold.woff2")
env.CommandNoCache(
"#scene/resources/default_theme/default_font.gen.h",
- "#thirdparty/fonts/OpenSans_SemiBold.ttf",
+ "#thirdparty/fonts/OpenSans_SemiBold.woff2",
run_in_subprocess(default_theme_builders.make_fonts_header),
)