projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d51d330
)
Look in another place for Liberation Sans on Fedora 41.
main
author
Carl Hetherington
<cth@carlh.net>
Fri, 29 Nov 2024 20:04:38 +0000
(21:04 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 29 Nov 2024 20:13:22 +0000
(21:13 +0100)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 8b767cd15094d283bf11312638ef7f28d14be2ee..b71ce8581b041a0355015396e8dd8a281da2853b 100644
(file)
--- 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;
}