1
0
Fork 0
mirror of synced 2024-05-01 19:23:24 +12:00

Update README for v6

This commit is contained in:
Nikita Prokopov 2021-11-06 02:47:45 +01:00
parent 4905eb5151
commit 4bf6dfe4f3
16 changed files with 46 additions and 13 deletions

View file

@ -42,15 +42,29 @@ Fira Code is not only about ligatures. Some fine-tuning is done for punctuation
Fira Code comes with a few different character variants, so that everyone can choose whats best for them. [How to enable](https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylistic-sets)
<img src="./extras/stylistic_sets.png" width="754" height="391">
<img src="./extras/character_variants.png" width="754" height="391">
Being a programming font, Fira Code has fantastic support for ASCII/box drawing, powerline and other forms of console UIs.
Some ligatures can be altered or enabled using stylistic sets/character variants:
<img src="./extras/console.png" width="754" height="357">
<img src="./extras/ligature_variants.png" width="754" height="561">
Unicode coverage makes Fira Code a great choice for mathematical writing.
Being a programming font, Fira Code has fantastic support for ASCII/box drawing, powerline and other forms of console UIs:
<img src="./extras/math.png" width="754" height="289">
<img src="./extras/console.png" width="754" height="459">
Fira Code is the first programming font to offer dedicated glyphs to render progress bars:
<img src="./extras/progress.png" width="754" height="282">
In action:
<img src="./extras/progress.gif" width="560" height="181">
We hope more programming fonts will adopt this convention and ship their own versions.
Unicode coverage makes Fira Code a great choice for mathematical writing:
<img src="./extras/math.png" width="754" height="323">
### How does it look?

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 38 KiB

BIN
extras/progress.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
extras/progress.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 168 KiB

View file

@ -1,9 +1,9 @@
.= .- ..= := ::= =:= __
.= ..= := ::= =:= __
== != === !== =/= =!=
<-< <<- <-- <- <-> -> --> ->> >->
<=< <<= <== <<->> <=> => ==> =>> >=>
>>= >>- >- <~> -< -<< =<<
<=< <== <<->> <=> => ==> =>> >=>
>>- >- <~> -< -<< =<<
<-| <=| /\ \/ |-> |=>
<~~ <~ ~~ ~> ~~>
@ -26,7 +26,7 @@
=~ !~ ~- -~ ~@
^= ?= /= /==
-| _|_ |- ||- |= ||=
-| _|_ |- ||-
#! #= ## ### ####
#{ #[ ]# #( #? #_ #_(
@ -48,8 +48,15 @@ r 0 123456789 & && $ <$ <$> $> @ <= >=
# Unicode
      
⌀ ⌃ ⌄ ⌅ ⌆ ⌘ ⌤ ⌥ ⎇ ⎋ ⏏ ⎈ ✓ ⌂ ⇪ ⌧ ⌫ ⌦ ⌨ ⏎ <20>
☐ ☑ ☒ ■ □ ▢ ▣ ▤ ▦ ▧ ▨ ▩ ◧ ◨ ◩ ◪ ◫ ◰ ◱ ◲ ◳
⊜ 🄍 🄎 🄏 🅭 🅮 🅯 🆭
⟲ ⟳ ⟰ ⟱ ⟴ ⟵ ⟶ ⟷ ⟸ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿ ↩ ↪ ⇞ ⇟ ⇤ ⇥ ↰ ↱ ↲ ↳ ❰ ❱
           
≢ ẞ ᐅ ᐊ ∴ ∵ ⎈ ‖ ∧ ⊢ ⊣ ⊥ ⊦ ⊧ ⊨ ⊩ ⊪ ⊫ ⊬ ⊭ ⊮ ⊯
⟲⟳ ⟰ ⟱ ⟴ ⟵ ⟶ ⟷ ⟸ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿
⟳ ⟰ ⟱ ⟴ ⟵ ⟶ ⟷ ⟸ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿
↩ ⇞ ⇟ ⇤ ⇥ ⌀ ⌃ ⌄ ⌅ ⌆ ⌘ ⌤ ⌥ ⎇ ⎋ ⏏ ✓ ☐ ☑ ☒ ▤ ▦ ▧ ▨ ▩
␆ ␈ ␇ ␣ ␢ ␘ ␍ ␐ ␡ ␥ ␔ ␑ ␓ ␒ ␙ ␃ ␄ ␗ ␅ ␛ ␜ ␌ ␝ ␉ ␊ ␕ ␤ ␀ ␞ ␏ ␎ ␠ ␁ ␂ ␚ ␦ ␖ ␟ ␋
𝔹 ∀ ∃ ∄ ∅ ⊂ ⊃ ⊄ ⊅ ⊆ ⊇ ⊈ ⊉ ⊊ ⊋ ∈ ∉ ∊ ∋ ∌ ∍

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

8
script/build_docker.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail
cd "`dirname $0`/.."
docker build -t tonsky/firacode .
PWD=`pwd`
docker run --rm -v $PWD:/opt/FiraCode tonsky/firacode ./FiraCode/script/build

View file

@ -5,10 +5,12 @@
(loop [i 0]
(print
(str
\u001b \u000d " " ;; ESC CR Moves the cursor to column zero
; \u001b \u000d " " ;; ESC CR Moves the cursor to column zero
\u001b "[2J"
\u001b "[H"
;; normal
"["
"\n Other fonts ["
(str/join
(for [j (range 2 17)]
(if (<= j i) "#" ".")))
@ -17,6 +19,7 @@
" "
;; Fira Code
"\n\n Fira Code "
(if (= 0 i) \uee00 \uee03) ;; Progress start
(str/join
(for [j (range 2 17)]
@ -25,7 +28,8 @@
" "
(nth chars (mod i 6))
" "
(-> i (/ 17.0) (* 100) (int)) "% "))
#_#_(-> i (/ 17.0) (* 100) (int)) "%"
" "))
(flush)
(Thread/sleep 200)
(recur (mod (inc i) 18)))