projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49a724
)
Find Liberation Sans with local builds on Fedora.
author
Carl Hetherington
<cth@carlh.net>
Tue, 28 Jun 2022 21:34:23 +0000
(23:34 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 30 Jun 2022 22:02:52 +0000
(
00:02
+0200)
src/lib/util.cc
patch
|
blob
|
history
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index ed0de75959578cdd5016118c6c27f23c1d913b8a..eab9408ce77348c2b8af9bf48b62e4317defc829 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-1121,6
+1121,9
@@
default_font_file ()
if (!boost::filesystem::exists(liberation_normal)) {
liberation_normal = "/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf";
}
+ if (!boost::filesystem::exists(liberation_normal)) {
+ liberation_normal = "/usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf";
+ }
return liberation_normal;
}