summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-04 23:59:19 +0200
committerCarl Hetherington <cth@carlh.net>2020-08-04 23:59:19 +0200
commitad44531cdd4e6d8ce77822e6b06a43d19979aae9 (patch)
tree72c0146309d3eeef8f19c1d50e70340ae9566df2
parentb8e62db42a10067b3e49bd7f8d036ced75e003bb (diff)
Fix missing fonts in splash.png and try to prevent graphics update happening with missing fonts.
-rw-r--r--graphics/splash.pngbin37883 -> 39059 bytes
-rwxr-xr-xgraphics/update11
2 files changed, 11 insertions, 0 deletions
diff --git a/graphics/splash.png b/graphics/splash.png
index 32e7fd9b9..0a9488dd3 100644
--- a/graphics/splash.png
+++ b/graphics/splash.png
Binary files differ
diff --git a/graphics/update b/graphics/update
index f649d8df8..5fc7aa519 100755
--- a/graphics/update
+++ b/graphics/update
@@ -12,7 +12,18 @@ if [ `basename $pwd` != "graphics" ]; then
exit 1
fi
+function required_font()
+{
+ check=$(fc-list | grep "$1")
+ if [ "$check" == "" ]; then
+ echo "Missing font $1"
+ exit 1
+ fi
+}
+
svg_apps="dcpomatic2_kdm dcpomatic2_server dcpomatic2_batch dcpomatic2_player dcpomatic2_playlist dcpomatic2_disk"
+required_font "Libre Baskerville"
+
if [ `uname -s` == "Darwin" ]; then
# Convert OS X icons using OS X-only iconutil