[pango/tab-align: 2/5] test-layout: Make --fonts work as expected
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/tab-align: 2/5] test-layout: Make --fonts work as expected
- Date: Mon, 29 Nov 2021 03:58:21 +0000 (UTC)
commit 94a5aadbb130db62d09895a6bd3729276093b65d
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Nov 28 21:52:47 2021 -0500
test-layout: Make --fonts work as expected
We want to use this without initializing tests.
tests/test-layout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/test-layout.c b/tests/test-layout.c
index 3ea3063d..73fb556d 100644
--- a/tests/test-layout.c
+++ b/tests/test-layout.c
@@ -117,7 +117,7 @@ install_fonts (const char *dir)
config = FcConfigCreate ();
- path = g_test_build_filename (G_TEST_DIST, "fonts/fonts.conf", NULL);
+ path = g_build_filename (dir, "fonts.conf", NULL);
g_file_get_contents (path, &conf, &len, NULL);
if (!FcConfigParseAndLoadFromMemory (config, (const FcChar8 *) conf, TRUE))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]