Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-14 20:54:50 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-03-25 18:39:37 +0300
commit9070999c216b87f848dfd9a129b95e3d45a33fb3 (patch)
treef85a266d1222a3c4fd6aacdc2037a29f5a658dd4 /source/blender/blenfont
parentf48d15a86189756ae7dd9b7ba45fb3af24e0846b (diff)
UI: always use international font
This means Blender can display more text correctly without having to enable user interface translation. Previously the quality of the font was lower, but that has been fixed now. The font files have now been ungzipped, which results in faster file loading as Freetype can read only the parts of the file that it needs. Blender download size should not increase since the release package is compressed. This includes improvements for Cyrillic characters from the latest DejaVu Sans fonts from D6960, contributed by Harley Acheson. Fixes T74097. Differential Revision: https://developer.blender.org/D6854
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/intern/blf_font_i18n.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_font_i18n.c b/source/blender/blenfont/intern/blf_font_i18n.c
index 74113ae4ce1..caacd6a28db 100644
--- a/source/blender/blenfont/intern/blf_font_i18n.c
+++ b/source/blender/blenfont/intern/blf_font_i18n.c
@@ -45,8 +45,8 @@ struct FontBuf {
int data_len;
};
-static struct FontBuf unifont_ttf = {"droidsans.ttf.gz"};
-static struct FontBuf unifont_mono_ttf = {"bmonofont-i18n.ttf.gz"};
+static struct FontBuf unifont_ttf = {"droidsans.ttf"};
+static struct FontBuf unifont_mono_ttf = {"bmonofont-i18n.ttf"};
static void fontbuf_load(struct FontBuf *fb)
{