1
0
Fork 0
mirror of synced 2024-05-18 11:33:38 +12:00

Fira Code v5

This commit is contained in:
Nikita Prokopov 2020-06-08 16:10:00 +02:00
parent 2a76d96b8d
commit 63c6434ab7
49 changed files with 37 additions and 59 deletions

View file

@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file. 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 - Fixed Box drawing diagonal lines U+2571 `` U+2572 `╲` U+2573 `` #929
- Added U+2236 Ratio `` #926 - Added U+2236 Ratio `` #926
@ -13,9 +13,10 @@ All notable changes to this project will be documented in this file.
- Disable `=/` because of conflicts with paths `PATH=/...` #1056 - Disable `=/` because of conflicts with paths `PATH=/...` #1056
- Fixed STAT table in FiraCode-VF.ttf #770 #1054 - Fixed STAT table in FiraCode-VF.ttf #770 #1054
- Added `//=` `=//` `=//=` #816 - 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 - 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 - Added ss08 that adds gaps to `==` `===` `!=` `!==` #383
- Removed OTF from distr to avoid confusion #939
#### 4.0 (May 18, 2020) #### 4.0 (May 18, 2020)

File diff suppressed because one or more lines are too long

View file

@ -12,7 +12,7 @@ Fira Code is a free monospaced font containing ligatures for common programming
### Download & Install ### 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: Then:

View file

@ -10,7 +10,7 @@ OR
Use https://chocolatey.org: Use https://chocolatey.org:
choco install firacode choco install firacode-ttf
macOS macOS

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB

After

Width:  |  Height:  |  Size: 174 KiB

View file

@ -64,7 +64,7 @@ r 0 123456789 & && $ <$ <$> $> @ <= >=
┌─┬─┐ ╔╦═╗ ┏━┳┓ ╒═╤═╗ ╭─┰─╮ ○ ○ ◆ ◆ ┌─┬─┐ ╔╦═╗ ┏━┳┓ ╒═╤═╗ ╭─┰─╮ ○ ○ ◆ ◆
├─┼─┤ ╠╬═╣ ┣━╋┫ ├─┼─╢ ┝━╋━┥ ╲ ├─┼─┤ ╠╬═╣ ┣━╋┫ ├─┼─╢ ┝━╋━┥ ╲
└─┴─┘ ╚╩═╝ ┗━┻┛ ╘═╧═╝ ╰─┸─╯ ◆ ◆ └─┴─┘ ╚╩═╝ ┗━┻┛ ╘═╧═╝ ╰─┸─╯ ◆ ◆
# Blocks # Blocks

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View file

@ -1,6 +1,6 @@
{ {
"name": "firacode", "name": "firacode",
"version": "4.0.0", "version": "5.0.0",
"description": "Fira Code: monospaced font with programming ligatures", "description": "Fira Code: monospaced font with programming ligatures",
"main": "distr/fira_code.css", "main": "distr/fira_code.css",
"keywords": [ "keywords": [

View file

@ -1,6 +0,0 @@
#!/bin/bash -e
source venv/bin/activate
rm -rf distr/otf
fontmake -g FiraCode.glyphs -o otf --output-dir distr/otf -i

View file

@ -2,6 +2,8 @@
cd "`dirname $0`/.." cd "`dirname $0`/.."
source venv/bin/activate
DIR=distr/variable_ttf DIR=distr/variable_ttf
FILE=FiraCode-VF.ttf FILE=FiraCode-VF.ttf

View file

@ -1,17 +1,17 @@
#!/bin/bash -e #!/bin/bash -euo pipefail
# requires sfnt2woff-zopfli (get from https://github.com/bramstein/homebrew-webfonttools) # 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) ttfs=$(ls distr/*/*.ttf)
for ttf in $ttfs; do for ttf in $ttfs; do
echo "sfnt2woff-zopfli $ttf"
sfnt2woff-zopfli $ttf sfnt2woff-zopfli $ttf
done done
rm distr/ttf/FiraCode-Retina.woff
mkdir -p distr/woff mkdir -p distr/woff
woffs=$(ls distr/*/*.woff) mv distr/*/*.woff distr/woff
for woff in $woffs; do rm distr/woff/FiraCode-Retina.woff
mv $woff distr/woff/$(basename $woff)
done

View file

@ -1,17 +1,16 @@
#!/bin/bash -e #!/bin/bash -euo pipefail
# requires woff2_compress (get from https://github.com/bramstein/homebrew-webfonttools) # 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) ttfs=$(ls distr/*/*.ttf)
for ttf in $ttfs; do for ttf in $ttfs; do
woff2_compress $ttf woff2_compress $ttf
done done
rm distr/ttf/FiraCode-Retina.woff2
mkdir -p distr/woff2 mkdir -p distr/woff2
woff2s=$(ls distr/*/*.woff2) mv distr/*/*.woff2 distr/woff2
for woff2 in $woff2s; do rm distr/woff2/FiraCode-Retina.woff2
mv $woff2 distr/woff2/$(basename $woff2)
done

9
script/everything Executable file
View file

@ -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

View file

@ -1,3 +0,0 @@
#!/bin/bash -ex
cp distr/otf/*.otf ~/Library/Fonts

View file

@ -1,8 +1,6 @@
#!/bin/zsh -euo pipefail #!/bin/zsh -euo pipefail
cd "`dirname $0`/.." cd "`dirname $0`/.."
setopt BASH_REMATCH setopt BASH_REMATCH
MAJOR=`cat FiraCode.glyphs | grep versionMajor` MAJOR=`cat FiraCode.glyphs | grep versionMajor`
VERSION="" VERSION=""

View file

@ -1,24 +1,5 @@
#!/bin/bash -x #!/bin/bash -euo pipefail
cd "`dirname $0`/.."
# 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 ..
# Update npm # Update npm
npm publish npm publish