26 lines
1 KiB
Diff
26 lines
1 KiB
Diff
--- src/wx/wxcomponents.cpp
|
|
+++ src/wx/wxcomponents.cpp
|
|
@@ -555,16 +555,17 @@ std::string TTFFinder::nxFindFont(const char *fontFile)
|
|
//(Oh look Ma, I'm autoconf!)
|
|
|
|
const char *dirs[] = { ".",
|
|
- "/usr/share/fonts/truetype", //Old debian
|
|
+ "/usr/local/share/fonts/truetype", // User fonts
|
|
"/usr/share/fonts/truetype/freefont", // New debian
|
|
"/usr/share/fonts/truetype/ttf-dejavu", //New debian
|
|
- "/usr/local/share/fonts/truetype", // User fonts
|
|
+ "/usr/share/fonts/truetype", //Old debian
|
|
+ "/usr/share/fonts/dejavu", //Fedora
|
|
"/usr/X11R6/lib/X11/fonts/truetype",
|
|
"/usr/X11R6/lib64/X11/fonts/truetype",
|
|
- "/usr/lib/X11/fonts/truetype",// Fedora 32
|
|
- "/usr/lib64/X11/fonts/truetype", //Fedora 64
|
|
- "/usr/local/lib/X11/fonts/truetype", // Fedora 32 new
|
|
- "/usr/local/lib64/X11/fonts/truetype",// Fedora 64 new
|
|
+ "/usr/lib/X11/fonts/truetype",
|
|
+ "/usr/lib64/X11/fonts/truetype",
|
|
+ "/usr/local/lib/X11/fonts/truetype",
|
|
+ "/usr/local/lib64/X11/fonts/truetype",
|
|
"",
|
|
}; //MUST end with "".
|
|
|