Rolled back ascender/descender changes from 6ee86a64b8
#798
This commit is contained in:
parent
cf056b2dee
commit
c13a8035c2
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -8,4 +8,5 @@ FiraCode\ (Autosaved).glyphs
|
|||
master_ufo
|
||||
instance_ufo
|
||||
venv
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
*.numbers
|
|
@ -236,11 +236,11 @@ capHeight = 1374;
|
|||
customParameters = (
|
||||
{
|
||||
name = typoAscender;
|
||||
value = 1980;
|
||||
value = 1870;
|
||||
},
|
||||
{
|
||||
name = typoDescender;
|
||||
value = -644;
|
||||
value = -530;
|
||||
},
|
||||
{
|
||||
name = typoLineGap;
|
||||
|
@ -248,19 +248,19 @@ value = 0;
|
|||
},
|
||||
{
|
||||
name = winAscent;
|
||||
value = 2164;
|
||||
value = 1870;
|
||||
},
|
||||
{
|
||||
name = winDescent;
|
||||
value = 1000;
|
||||
value = 530;
|
||||
},
|
||||
{
|
||||
name = hheaAscender;
|
||||
value = 1980;
|
||||
value = 1870;
|
||||
},
|
||||
{
|
||||
name = hheaDescender;
|
||||
value = -644;
|
||||
value = -530;
|
||||
},
|
||||
{
|
||||
name = hheaLineGap;
|
||||
|
@ -306,11 +306,11 @@ capHeight = 1386;
|
|||
customParameters = (
|
||||
{
|
||||
name = typoAscender;
|
||||
value = 1980;
|
||||
value = 1870;
|
||||
},
|
||||
{
|
||||
name = typoDescender;
|
||||
value = -644;
|
||||
value = -530;
|
||||
},
|
||||
{
|
||||
name = typoLineGap;
|
||||
|
@ -318,19 +318,19 @@ value = 0;
|
|||
},
|
||||
{
|
||||
name = winAscent;
|
||||
value = 2164;
|
||||
value = 1870;
|
||||
},
|
||||
{
|
||||
name = winDescent;
|
||||
value = 1000;
|
||||
value = 530;
|
||||
},
|
||||
{
|
||||
name = hheaAscender;
|
||||
value = 1980;
|
||||
value = 1870;
|
||||
},
|
||||
{
|
||||
name = hheaDescender;
|
||||
value = -644;
|
||||
value = -530;
|
||||
},
|
||||
{
|
||||
name = hheaLineGap;
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -17,3 +17,4 @@ brew install ttfautohint
|
|||
brew install woff2
|
||||
brew tap bramstein/webfonttools
|
||||
brew install sfnt2woff-zopfli
|
||||
pip3 install fontbakery
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -ex
|
||||
#!/bin/bash -e
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
|
|
24
script/build_ttf
Executable file
24
script/build_ttf
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
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}
|
||||
|
||||
echo "TTFautohint " ${file}
|
||||
hintedFile=${file/".ttf"/"-hinted.ttf"}
|
||||
ttfautohint -I ${file} ${hintedFile} --stem-width-mode nnn --composites
|
||||
# --windows-compatibility
|
||||
mv ${hintedFile} ${file}
|
||||
done
|
5
script/check
Executable file
5
script/check
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
fontbakery check-universal -C $1
|
Loading…
Reference in a new issue