diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-16 20:34:48 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-05-17 15:19:13 +0200 |
commit | d211c05111eed90baa7e70cb4e818fd328e97770 (patch) | |
tree | 39fa4e825c21df9ba0b7bc0d7465536141ff50f4 /thirdparty | |
parent | c6bef537274e65620b40b9f5f1937d2332a249df (diff) |
Use a DynamicFont for the default project theme
This makes font oversampling work out of the box, while also increasing
the supported character set's size. The default font is now larger
as well to better fit today's screen resolutions.
The OpenSans SemiBold font was chosen for two reasons:
- Small file size, yet its character set supports Latin-1 and Cyrillic
text.
- A heavier font weight looks better in most "game" scenarios and is
more readable against mixed-color backgrounds.
This is considered a breaking change as it changes the default font's
metrics, which will likely affect how Control nodes are laid out in
scenes (unless a custom font is in use).
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/README.md | 6 | ||||
-rw-r--r-- | thirdparty/fonts/OpenSans_SemiBold.ttf | bin | 0 -> 100820 bytes |
2 files changed, 5 insertions, 1 deletions
diff --git a/thirdparty/README.md b/thirdparty/README.md index c6d8d06ee5..1e7d990dda 100644 --- a/thirdparty/README.md +++ b/thirdparty/README.md @@ -72,7 +72,7 @@ Files extracted from upstream: - All cpp files listed in `modules/raycast/godot_update_embree.py` - All header files in the directories listed in `modules/raycast/godot_update_embree.py` -The `modules/raycast/godot_update_embree.py`script can be used to pull the +The `modules/raycast/godot_update_embree.py` script can be used to pull the relevant files from the latest Embree-aarch64 release and apply some automatic changes. Some changes have been made in order to remove exceptions and fix minor build errors. @@ -137,6 +137,10 @@ Files extracted from upstream source: * Upstream: https://android.googlesource.com/platform/frameworks/base/+/master/data/fonts/ * Version: ? (pre-2014 commit when DroidSansJapanese.ttf was obsoleted) * License: Apache 2.0 +- `OpenSans_SemiBold.ttf`: + * Upstream: https://fonts.google.com/specimen/Open+Sans + * Version: 1.10 (downloaded from Google Fonts in February 2021) + * License: Apache 2.0 - `Tamsyn*.png`: * Upstream: http://www.fial.com/~scott/tamsyn-font/ * Version: 1.11 (2015) diff --git a/thirdparty/fonts/OpenSans_SemiBold.ttf b/thirdparty/fonts/OpenSans_SemiBold.ttf Binary files differnew file mode 100644 index 0000000000..54e7059cf3 --- /dev/null +++ b/thirdparty/fonts/OpenSans_SemiBold.ttf |