kopia lustrzana https://github.com/tonsky/FiraCode
Rolled back ascender/descender changes from 6ee86a64b8
#798
rodzic
cf056b2dee
commit
c13a8035c2
|
@ -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;
|
||||
|
|
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
fontbakery check-universal -C $1
|
Ładowanie…
Reference in New Issue