-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
arthsmn
committed
Jan 14, 2024
1 parent
3d673c9
commit 9e81701
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/src/plugins/controls/label-freetype/plugin.c b/src/plugins/controls/label-freetype/plugin.c | ||
index 917b04c0..83f2bec2 100644 | ||
--- a/src/plugins/controls/label-freetype/plugin.c | ||
+++ b/src/plugins/controls/label-freetype/plugin.c | ||
@@ -127,7 +127,7 @@ find_default_font_path (void) | ||
FILE *fp; | ||
static char fc_match_out[PATH_MAX]; | ||
|
||
- fp = popen ("/usr/bin/fc-match -f %{file}", "r"); | ||
+ fp = popen ("@fcmatch@ -f %{file}", "r"); | ||
if (!fp) | ||
return FONT_FALLBACK; | ||
|
||
@@ -144,7 +144,7 @@ find_default_monospace_font_path (void) | ||
FILE *fp; | ||
static char fc_match_out[PATH_MAX]; | ||
|
||
- fp = popen ("/usr/bin/fc-match -f %{file} monospace", "r"); | ||
+ fp = popen ("@fcmatch@ -f %{file} monospace", "r"); | ||
if (!fp) | ||
return MONOSPACE_FONT_FALLBACK; |