From: Carl Hetherington Date: Tue, 4 Aug 2020 21:59:19 +0000 (+0200) Subject: Fix missing fonts in splash.png and try to prevent graphics update happening with... X-Git-Tag: v2.15.95~6 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=ad44531cdd4e6d8ce77822e6b06a43d19979aae9 Fix missing fonts in splash.png and try to prevent graphics update happening with missing fonts. --- diff --git a/graphics/splash.png b/graphics/splash.png index 32e7fd9b9..0a9488dd3 100644 Binary files a/graphics/splash.png and b/graphics/splash.png 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