diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-11-29 21:04:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-11-29 21:13:22 +0100 |
| commit | d88c15f7cdb30ef88372d64837d39aab1357fbeb (patch) | |
| tree | 7c95d7bdfb79096f0e4f96e1294b185cf7cabc55 | |
| parent | d51d330f78f11160509a764060ecc17a731e97cf (diff) | |
Look in another place for Liberation Sans on Fedora 41.
| -rw-r--r-- | src/lib/util.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 8b767cd15..b71ce8581 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -1054,6 +1054,10 @@ default_font_file () if (!dcp::filesystem::exists(liberation_normal)) { liberation_normal = "/usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf"; } + if (!dcp::filesystem::exists(liberation_normal)) { + /* Fedora 41 puts it here */ + liberation_normal = "/usr/share/fonts/liberation-sans-fonts/LiberationSans-Regular.ttf"; + } return liberation_normal; } |
