[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add Fedora location of DejaVu SANS font

From: Nicholas Vinson
Subject: Re: [PATCH] Add Fedora location of DejaVu SANS font
Date: Mon, 6 Dec 2021 19:49:30 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 12/6/21 17:25, Robbie Harwood wrote:
From: fluteze <>

In Fedora 35, and possibly earlier, grub would fail to configure with a
complaint about DejaVu being "not found" even though it was installed.
The DejaVu sans font search path is updated to reflect the
distribution's current install path.

Signed-off-by: Erik Edwards <>
[ slight commit message edits]
Signed-off-by: Robbie Harwood <>
--- | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ b/
index 8d1c81a73..5186eab2c 100644
--- a/
+++ b/
@@ -1725,7 +1725,7 @@ fi
if test x"$starfield_excuse" = x; then
     for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
-     for dir in . /usr/src /usr/share/fonts/X11/misc 
/usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu 
/usr/share/fonts/truetype; do
+     for dir in . /usr/src /usr/share/fonts/X11/misc 
/usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu 
/usr/share/fonts/truetype /usr/share/fonts/dejavu-sans-fonts; do

Wouldn't it be better to modify so the location could be passed in instead of having one-off patches for alternate locations? Something like --with-dejavu-font=/usr/share/fonts/dejavu-sans-fonts?

          if test -f "$dir/DejaVuSans.$ext"; then
            break 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]