diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-28 23:34:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-01 00:02:52 +0200 |
| commit | 450fa35934fbc6d2c8f09590e830fd369914ccc5 (patch) | |
| tree | 471279b2a1907af210e46c210ed1cfe538516939 /src/lib/util.cc | |
| parent | f49a724918ad3d1082384576960b1098d7f15822 (diff) | |
Find Liberation Sans with local builds on Fedora.
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index ed0de7595..eab9408ce 100644 --- 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; } |
