Skip to content

Commit

Permalink
Fira Code v5
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Jun 8, 2020
1 parent 2a76d96 commit 63c6434
Show file tree
Hide file tree
Showing 49 changed files with 37 additions and 59 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

#### 5.0
#### 5.0 (June 8, 2020)

- Fixed Box drawing diagonal lines U+2571 `` U+2572 `` U+2573 `` #929
- Added U+2236 Ratio `` #926
Expand All @@ -13,9 +13,10 @@ All notable changes to this project will be documented in this file.
- Disable `=/` because of conflicts with paths `PATH=/...` #1056
- Fixed STAT table in FiraCode-VF.ttf #770 #1054
- Added `//=` `=//` `=//=` #816
- Added U+21B0..U+21B3 `↱↲`, U+2770..U+2771 `❰❱` #1032
- Added U+21B0..U+21B3 ` ↱ ↲ `, U+2770..U+2771 ` ` #1032
- Fixed U+27F8 `` U+27F9 `` U+27FA `` U+27FD `` U+27FE `` U+27FF `` that were broken in v4 #1067
- Added ss08 that adds gaps to `==` `===` `!=` `!==` #383
- Removed OTF from distr to avoid confusion #939

#### 4.0 (May 18, 2020)

Expand Down
7 changes: 2 additions & 5 deletions FiraCode.glyphs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Fira Code is a free monospaced font containing ligatures for common programming

### Download & Install

<a href="https://github.com/tonsky/FiraCode/releases/download/4/Fira_Code_v4.zip"><img src="./extras/download.png" width="520" height="130"></a>
<a href="https://github.com/tonsky/FiraCode/releases/download/5/Fira_Code_v5.zip"><img src="./extras/download.png" width="520" height="130"></a>

Then:

Expand Down
2 changes: 1 addition & 1 deletion distr/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OR

Use https://chocolatey.org:

choco install firacode
choco install firacode-ttf


macOS
Expand Down
Binary file removed distr/otf/FiraCode-Bold.otf
Binary file not shown.
Binary file removed distr/otf/FiraCode-Light.otf
Binary file not shown.
Binary file removed distr/otf/FiraCode-Medium.otf
Binary file not shown.
Binary file removed distr/otf/FiraCode-Regular.otf
Binary file not shown.
Binary file removed distr/otf/FiraCode-Retina.otf
Binary file not shown.
Binary file removed distr/otf/FiraCode-SemiBold.otf
Binary file not shown.
Binary file modified distr/ttf/FiraCode-Bold.ttf
Binary file not shown.
Binary file modified distr/ttf/FiraCode-Light.ttf
Binary file not shown.
Binary file modified distr/ttf/FiraCode-Medium.ttf
Binary file not shown.
Binary file modified distr/ttf/FiraCode-Regular.ttf
Binary file not shown.
Binary file modified distr/ttf/FiraCode-Retina.ttf
Binary file not shown.
Binary file modified distr/ttf/FiraCode-SemiBold.ttf
Binary file not shown.
Binary file modified distr/variable_ttf/FiraCode-VF.ttf
Binary file not shown.
Binary file removed distr/variable_ttf/FiraCodeGX.ttf
Binary file not shown.
Binary file modified distr/woff/FiraCode-Bold.woff
Binary file not shown.
Binary file modified distr/woff/FiraCode-Light.woff
Binary file not shown.
Binary file modified distr/woff/FiraCode-Medium.woff
Binary file not shown.
Binary file modified distr/woff/FiraCode-Regular.woff
Binary file not shown.
Binary file modified distr/woff/FiraCode-SemiBold.woff
Binary file not shown.
Binary file modified distr/woff/FiraCode-VF.woff
Binary file not shown.
Binary file modified distr/woff2/FiraCode-Bold.woff2
Binary file not shown.
Binary file modified distr/woff2/FiraCode-Light.woff2
Binary file not shown.
Binary file modified distr/woff2/FiraCode-Medium.woff2
Binary file not shown.
Binary file modified distr/woff2/FiraCode-Regular.woff2
Binary file not shown.
Binary file modified distr/woff2/FiraCode-SemiBold.woff2
Binary file not shown.
Binary file modified distr/woff2/FiraCode-VF.woff2
Binary file not shown.
Binary file modified extras/arrows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified extras/console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified extras/download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified extras/ligatures.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified extras/math.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified extras/samples.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified extras/samples2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion extras/showcases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ r 0 123456789 & && $ <$ <$> $> @ <= >=

┌─┬─┐ ╔╦═╗ ┏━┳┓ ╒═╤═╗ ╭─┰─╮ ○ ○ ◆ ◆
├─┼─┤ ╠╬═╣ ┣━╋┫ ├─┼─╢ ┝━╋━┥ ╲ ╱ ╳
└─┴─┘ ╚╩═╝ ┗━┻┛ ╘═╧═╝ ╰─┸─╯ ◆ ◆
└─┴─┘ ╚╩═╝ ┗━┻┛ ╘═╧═╝ ╰─┸─╯ ◆ ◆

# Blocks

Expand Down
Binary file modified extras/stylistic_sets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified extras/typographics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "firacode",
"version": "4.0.0",
"version": "5.0.0",
"description": "Fira Code: monospaced font with programming ligatures",
"main": "distr/fira_code.css",
"keywords": [
Expand Down
6 changes: 0 additions & 6 deletions script/build_otf

This file was deleted.

2 changes: 2 additions & 0 deletions script/build_variable
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

cd "`dirname $0`/.."

source venv/bin/activate

DIR=distr/variable_ttf
FILE=FiraCode-VF.ttf

Expand Down
16 changes: 8 additions & 8 deletions script/build_woff
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash -e
#!/bin/bash -euo pipefail
# requires sfnt2woff-zopfli (get from https://github.com/bramstein/homebrew-webfonttools)

rm -rf distr/woff
cd "`dirname $0`/.."
source venv/bin/activate

rm -rf distr/*/*.woff

ttfs=$(ls distr/*/*.ttf)
for ttf in $ttfs; do
echo "sfnt2woff-zopfli $ttf"
sfnt2woff-zopfli $ttf
done

rm distr/ttf/FiraCode-Retina.woff

mkdir -p distr/woff
woffs=$(ls distr/*/*.woff)
for woff in $woffs; do
mv $woff distr/woff/$(basename $woff)
done
mv distr/*/*.woff distr/woff
rm distr/woff/FiraCode-Retina.woff
15 changes: 7 additions & 8 deletions script/build_woff2
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
#!/bin/bash -e
#!/bin/bash -euo pipefail
# requires woff2_compress (get from https://github.com/bramstein/homebrew-webfonttools)

rm -rf distr/woff2
cd "`dirname $0`/.."
source venv/bin/activate

rm -rf distr/*/*.woff2

ttfs=$(ls distr/*/*.ttf)
for ttf in $ttfs; do
woff2_compress $ttf
done

rm distr/ttf/FiraCode-Retina.woff2

mkdir -p distr/woff2
woff2s=$(ls distr/*/*.woff2)
for woff2 in $woff2s; do
mv $woff2 distr/woff2/$(basename $woff2)
done
mv distr/*/*.woff2 distr/woff2
rm distr/woff2/FiraCode-Retina.woff2
9 changes: 9 additions & 0 deletions script/everything
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/zsh -euo pipefail
cd "`dirname $0`/.."

./script/check_widths
# ./script/build_ttf
./script/build_variable
./script/build_woff
./script/build_woff2
./script/package
3 changes: 0 additions & 3 deletions script/install

This file was deleted.

2 changes: 0 additions & 2 deletions script/package.sh → script/package
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/zsh -euo pipefail

cd "`dirname $0`/.."


setopt BASH_REMATCH
MAJOR=`cat FiraCode.glyphs | grep versionMajor`
VERSION=""
Expand Down
23 changes: 2 additions & 21 deletions script/release
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
#!/bin/bash -x

# Remove Retina from webfonts
rm distr/FiraCode-Retina.eot 2> /dev/null
rm distr/FiraCode-Retina.woff 2> /dev/null
rm distr/FiraCode-Retina.woff2 2> /dev/null

# Move to folders
mv distr/*.eot distr/eot/ 2> /dev/null
mv distr/*.woff distr/woff/ 2> /dev/null
mv distr/*.woff2 distr/woff2/ 2> /dev/null
mv distr/*.ttf distr/ttf/ 2> /dev/null
mv distr/*.otf distr/otf/ 2> /dev/null

# Install OTF version
cp distr/otf/*.otf ~/Library/Fonts/

# Pack zip archive
cd distr
find . -not -name ".*" | xargs zip ../FiraCode.zip
cd ..
#!/bin/bash -euo pipefail
cd "`dirname $0`/.."

# Update npm
npm publish
Expand Down

0 comments on commit 63c6434

Please sign in to comment.