Fix missing fonts in splash.png and try to prevent graphics update happening with...
authorCarl Hetherington <cth@carlh.net>
Tue, 4 Aug 2020 21:59:19 +0000 (23:59 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 4 Aug 2020 21:59:19 +0000 (23:59 +0200)
graphics/splash.png
graphics/update

index 32e7fd9b9582df406e29094d9fd395b987bb813b..0a9488dd3628c2eb7045ca3177bf52bb1803bc69 100644 (file)
Binary files a/graphics/splash.png and b/graphics/splash.png differ
index f649d8df80442dd5218a18752936473a204e10a9..5fc7aa519bf35b64968520e8b6d81e88e5744f71 100755 (executable)
@@ -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