-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ FiraCode\ (Autosaved).glyphs | |
master_ufo | ||
instance_ufo | ||
venv | ||
.DS_Store | ||
.DS_Store | ||
*.numbers |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash -ex | ||
#!/bin/bash -e | ||
|
||
source venv/bin/activate | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash -e | ||
|
||
source venv/bin/activate | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tonsky
Author
Owner
|
||
|
||
args=( "$@" ) | ||
default_weights=( "Light" "Regular" "Retina" "Medium" "Bold" ) | ||
weights=( "${args[@]:-"${default_weights[@]}"}" ) | ||
|
||
for weight in "${weights[@]}"; do | ||
file=distr/ttf/FiraCode-${weight}.ttf | ||
|
||
echo "Making " ${file} | ||
rm -rf ${file} | ||
fontmake -g FiraCode.glyphs -o ttf --output-dir distr/ttf -i "Fira Code ${weight}" | ||
|
||
echo "Fixing DSIG in " ${file} | ||
gftools fix-dsig --autofix ${file} | ||
This comment has been minimized.
Sorry, something went wrong.
fabiangreffrath
|
||
|
||
echo "TTFautohint " ${file} | ||
hintedFile=${file/".ttf"/"-hinted.ttf"} | ||
ttfautohint -I ${file} ${hintedFile} --stem-width-mode nnn --composites | ||
# --windows-compatibility | ||
mv ${hintedFile} ${file} | ||
done |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash -e | ||
|
||
source venv/bin/activate | ||
|
||
fontbakery check-universal -C $1 |
What's the matter with this file?