diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-11-29 21:14:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-11-29 21:14:39 +0100 |
| commit | a96e7a5be8cfd74f2816616fa975de53b68f074c (patch) | |
| tree | 5054713924b022cecbaaaa0d8accb77eaf1b86b9 | |
| parent | ed3f2e750c92f8508bb98a531d7f8d7af9857f19 (diff) | |
| parent | d88c15f7cdb30ef88372d64837d39aab1357fbeb (diff) | |
Merge remote-tracking branch 'origin/main' into v2.17.x
| -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 f1028d757..022289a58 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -1052,6 +1052,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; } |
