summaryrefslogtreecommitdiff
path: root/src/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests')
-rw-r--r--src/unittests/gui/widgets/browserbox.cc2
-rw-r--r--src/unittests/gui/widgets/staticbrowserbox.cc2
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,