Skip to content

Commit d42e727

Browse files
committed
Fira Code v4
1 parent 5ef7ba1 commit d42e727

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+102
-91
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion

FiraCode.glyphs

Lines changed: 17 additions & 20 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 39 additions & 61 deletions

distr/otf/FiraCode-Bold.otf

-5.11 KB
Binary file not shown.

distr/otf/FiraCode-Light.otf

-3.14 KB
Binary file not shown.

distr/otf/FiraCode-Medium.otf

-4.77 KB
Binary file not shown.

distr/otf/FiraCode-Regular.otf

-4.02 KB
Binary file not shown.

distr/otf/FiraCode-Retina.otf

-3.2 KB
Binary file not shown.

distr/otf/FiraCode-SemiBold.otf

-4.08 KB
Binary file not shown.

distr/ttf/FiraCode-Bold.ttf

-4.98 KB
Binary file not shown.

distr/ttf/FiraCode-Light.ttf

-4.6 KB
Binary file not shown.

distr/ttf/FiraCode-Medium.ttf

-4.69 KB
Binary file not shown.

distr/ttf/FiraCode-Regular.ttf

-4.68 KB
Binary file not shown.

distr/ttf/FiraCode-Retina.ttf

-4.57 KB
Binary file not shown.

distr/ttf/FiraCode-SemiBold.ttf

-4.85 KB
Binary file not shown.

distr/variable_ttf/FiraCode-VF.ttf

-15.8 KB
Binary file not shown.

distr/variable_ttf/FiraCodeGX.ttf

-4.72 KB
Binary file not shown.

distr/woff/FiraCode-Bold.woff

-2.5 KB
Binary file not shown.

distr/woff/FiraCode-Light.woff

-2.19 KB
Binary file not shown.

distr/woff/FiraCode-Medium.woff

-2.31 KB
Binary file not shown.

distr/woff/FiraCode-Regular.woff

-2.23 KB
Binary file not shown.

distr/woff/FiraCode-SemiBold.woff

-2.47 KB
Binary file not shown.

distr/woff/FiraCode-VF.woff

-5.87 KB
Binary file not shown.

distr/woff2/FiraCode-Bold.woff2

-1.89 KB
Binary file not shown.

distr/woff2/FiraCode-Light.woff2

-1.46 KB
Binary file not shown.

distr/woff2/FiraCode-Medium.woff2

-932 Bytes
Binary file not shown.

distr/woff2/FiraCode-Regular.woff2

-1.08 KB
Binary file not shown.

distr/woff2/FiraCode-SemiBold.woff2

-1.8 KB
Binary file not shown.

distr/woff2/FiraCode-VF.woff2

-5.21 KB
Binary file not shown.

extras/arrows.png

121 KB

extras/console.png

43.8 KB

extras/download.png

15.5 KB

extras/ligatures.png

164 KB

extras/math.png

34.6 KB

extras/samples.png

164 KB

extras/samples2.png

173 KB
File renamed without changes.

extras/stylistic_sets.png

59.9 KB

extras/typographics.png

65.3 KB

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "firacode",
3-
"version": "3.1.0",
3+
"version": "4.0.0",
44
"description": "Fira Code: monospaced font with programming ligatures",
55
"main": "distr/fira_code.css",
66
"keywords": [

script/bootstrap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
#! /bin/bash -ex
22

3-
sudo easy_install pip
4-
pip3 install virtualenv --user
3+
sudo easy_install-3.7 pip
4+
pip install virtualenv --user
55
python3 -m virtualenv venv
66
source venv/bin/activate
77

88
# https://github.com/googlefonts/gftools/issues/121
99
brew install pkg-config
10-
pip3 install -U Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
10+
pip install -U Pillow==5.4.1 idna==2.8 requests==2.21.0 urllib3==1.24.1
1111
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
12-
pip3 install pycairo
13-
pip3 install git+https://github.com/googlefonts/gftools
12+
pip install pycairo
13+
pip install git+https://github.com/googlefonts/gftools
1414

15-
pip3 install fontmake
15+
pip install fontmake
1616
brew install ttfautohint
1717
brew install woff2
1818
brew tap bramstein/webfonttools
1919
brew install sfnt2woff-zopfli
20-
pip3 install fontbakery
20+
pip install fontbakery

script/build_woff

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ for ttf in $ttfs; do
88
sfnt2woff-zopfli $ttf
99
done
1010

11+
rm distr/ttf/FiraCode-Retina.woff
12+
1113
mkdir -p distr/woff
1214
woffs=$(ls distr/*/*.woff)
1315
for woff in $woffs; do

script/build_woff2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ for ttf in $ttfs; do
88
woff2_compress $ttf
99
done
1010

11+
rm distr/ttf/FiraCode-Retina.woff2
12+
1113
mkdir -p distr/woff2
1214
woff2s=$(ls distr/*/*.woff2)
1315
for woff2 in $woff2s; do
1416
mv $woff2 distr/woff2/$(basename $woff2)
15-
done
17+
done

script/package.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/zsh -euo pipefail
2+
3+
cd "`dirname $0`/.."
4+
5+
6+
setopt BASH_REMATCH
7+
MAJOR=`cat FiraCode.glyphs | grep versionMajor`
8+
VERSION=""
9+
10+
if [[ $MAJOR =~ 'versionMajor = ([0-9]+);' ]] ; then
11+
VERSION="${BASH_REMATCH[2]}"
12+
fi
13+
14+
MINOR=`cat FiraCode.glyphs | grep versionMinor`
15+
if [[ $MINOR =~ 'versionMinor = ([0-9]+);' ]] ; then
16+
MATCH="${BASH_REMATCH[2]}"
17+
if [ "$MATCH" != "0" ] ; then
18+
VERSION="$VERSION.$MATCH"
19+
fi
20+
fi
21+
22+
FILE="Fira_Code_v$VERSION.zip"
23+
rm -f $FILE
24+
25+
pushd distr
26+
find . -not -name ".*" | xargs zip ../$FILE
27+
popd
28+
29+
ls -lah $FILE

showcases/v3/all_ligatures.png

-267 KB
Binary file not shown.

showcases/v3/clojure.png

-43.7 KB
Binary file not shown.

showcases/v3/elixir.png

-63.9 KB
Binary file not shown.

showcases/v3/erlang.png

-32.5 KB
Binary file not shown.
-36.2 KB
Binary file not shown.

showcases/v3/go.png

-33.2 KB
Binary file not shown.

showcases/v3/javascript.png

-66.7 KB
Binary file not shown.

showcases/v3/livescript.png

-25.4 KB
Binary file not shown.

showcases/v3/php.png

-40.7 KB
Binary file not shown.

showcases/v3/ruby.png

-44.8 KB
Binary file not shown.

showcases/v3/stylistic_sets.png

-70.3 KB
Binary file not shown.

showcases/v3/swift.png

-43.1 KB
Binary file not shown.

showcases/v3/unicode.png

-94.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)