14
0
mirror of https://github.com/belluzj/fantasque-sans.git synced 2024-12-22 15:31:31 +01:00

added dependency check for fontforge: quit with error if it is not found on the system

This commit is contained in:
Ryan Delaney 2014-06-14 20:10:29 -07:00
parent b376c57292
commit c673e599bd

View File

@ -2,6 +2,8 @@
# Generate font files with FontForge, and a CSS declaration for this font. # Generate font files with FontForge, and a CSS declaration for this font.
if ! type fontforge &> /dev/null; then echo "ERROR: Missing dependency: fontforge" 1>&2; exit 1; fi
basename=$1 basename=$1
ttf="${basename}.ttf" ttf="${basename}.ttf"
otf="OTF/${basename}.otf" otf="OTF/${basename}.otf"