Skip to content

Commit 6e3d59c

Browse files
hjanetzektallytalwar
authored andcommittedDec 1, 2017
Remove bundled fonts, keep fonts used in tests
1 parent 9c486da commit 6e3d59c

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed
 

Diff for: ‎scenes/fonts/DroidSansFallback.ttf

-2.94 MB
Binary file not shown.

Diff for: ‎scenes/fonts/NotoSansHebrew-Regular.ttf

-16.1 KB
Binary file not shown.

Diff for: ‎tests/src/mockPlatform.cpp

+2-10
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88

99
#include <libgen.h>
1010

11-
#define DEFAULT "fonts/NotoSans-Regular.ttf"
12-
#define FONT_AR "fonts/NotoNaskh-Regular.ttf"
13-
#define FONT_HE "fonts/NotoSansHebrew-Regular.ttf"
14-
#define FONT_JA "fonts/DroidSansJapanese.ttf"
15-
#define FALLBACK "fonts/DroidSansFallback.ttf"
11+
#define DEFAULT_FONT "fonts/NotoSans-Regular.ttf"
1612

1713
#include "log.h"
1814

@@ -30,11 +26,7 @@ void MockPlatform::requestRender() const {}
3026
std::vector<FontSourceHandle> MockPlatform::systemFontFallbacksHandle() const {
3127
std::vector<FontSourceHandle> handles;
3228

33-
handles.emplace_back(Url{DEFAULT});
34-
handles.emplace_back(Url{FONT_AR});
35-
handles.emplace_back(Url{FONT_HE});
36-
handles.emplace_back(Url{FONT_JA});
37-
handles.emplace_back(Url{FALLBACK});
29+
handles.emplace_back(Url{DEFAULT_FONT});
3830

3931
return handles;
4032
}

0 commit comments

Comments
 (0)