diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-27 19:13:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-27 19:13:41 +0300 |
commit | 6da17088f26c4d9048124824a5bcd660beef338a (patch) | |
tree | 4a8bdbb1c9e9e89f94929471961fb41be9ea51e7 /src/unittests | |
parent | 5afb8f2605c7b22d95081c489769cb94d9a748ff (diff) | |
download | manaplus-6da17088f26c4d9048124824a5bcd660beef338a.tar.gz manaplus-6da17088f26c4d9048124824a5bcd660beef338a.tar.bz2 manaplus-6da17088f26c4d9048124824a5bcd660beef338a.tar.xz manaplus-6da17088f26c4d9048124824a5bcd660beef338a.zip |
Dont use system font in browserbox unit tests.
Diffstat (limited to 'src/unittests')
-rw-r--r-- | src/unittests/gui/widgets/browserbox.cc | 2 | ||||
-rw-r--r-- | src/unittests/gui/widgets/staticbrowserbox.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc index f29bdc8c9..2c0071313 100644 --- a/src/unittests/gui/widgets/browserbox.cc +++ b/src/unittests/gui/widgets/browserbox.cc @@ -80,7 +80,7 @@ TEST_CASE("BrowserBox tests", "browserbox") gui->postInit(mainGraphics); Widget::setGlobalFont(new Font( - "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf", + "fonts/dejavusans.ttf", 18, TTF_STYLE_NORMAL)); BrowserBox *const box = new BrowserBox(nullptr, diff --git a/src/unittests/gui/widgets/staticbrowserbox.cc b/src/unittests/gui/widgets/staticbrowserbox.cc index 784143fbc..1dad81d84 100644 --- a/src/unittests/gui/widgets/staticbrowserbox.cc +++ b/src/unittests/gui/widgets/staticbrowserbox.cc @@ -80,7 +80,7 @@ TEST_CASE("StaticBrowserBox tests", "browserbox") gui->postInit(mainGraphics); Widget::setGlobalFont(new Font( - "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf", + "fonts/dejavusans.ttf", 18, TTF_STYLE_NORMAL)); StaticBrowserBox *const box = new StaticBrowserBox(nullptr, |