mirror of
https://github.com/belluzj/fantasque-sans.git
synced 2024-12-22 07:21:31 +01:00
added dependency check for fontforge: quit with error if it is not found on the system
This commit is contained in:
parent
b376c57292
commit
c673e599bd
|
@ -2,6 +2,8 @@
|
|||
|
||||
# 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
|
||||
ttf="${basename}.ttf"
|
||||
otf="OTF/${basename}.otf"
|
||||
|
|
Loading…
Reference in New Issue
Block a user