diff --git a/README.md b/README.md index e0c9a7f..efb90ee 100644 --- a/README.md +++ b/README.md @@ -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 what’s best for them. [How to enable](https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylistic-sets) - + -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: - + -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: - + + +Fira Code is the first programming font to offer dedicated glyphs to render progress bars: + + + +In action: + + + +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: + + ### How does it look? diff --git a/extras/arrows.png b/extras/arrows.png index 8ad23be..f9d0c32 100644 Binary files a/extras/arrows.png and b/extras/arrows.png differ diff --git a/extras/character_variants.png b/extras/character_variants.png new file mode 100644 index 0000000..8c9f849 Binary files /dev/null and b/extras/character_variants.png differ diff --git a/extras/console.png b/extras/console.png index 29fa24f..6de09b4 100644 Binary files a/extras/console.png and b/extras/console.png differ diff --git a/extras/download.png b/extras/download.png index 245d91d..da27ff8 100644 Binary files a/extras/download.png and b/extras/download.png differ diff --git a/extras/ligature_variants.png b/extras/ligature_variants.png new file mode 100644 index 0000000..65235b6 Binary files /dev/null and b/extras/ligature_variants.png differ diff --git a/extras/ligatures.png b/extras/ligatures.png index 7fc886f..cbd3943 100644 Binary files a/extras/ligatures.png and b/extras/ligatures.png differ diff --git a/extras/math.png b/extras/math.png index 06c167d..77a0826 100644 Binary files a/extras/math.png and b/extras/math.png differ diff --git a/extras/progress.gif b/extras/progress.gif new file mode 100644 index 0000000..51af92c Binary files /dev/null and b/extras/progress.gif differ diff --git a/extras/progress.png b/extras/progress.png new file mode 100644 index 0000000..545367d Binary files /dev/null and b/extras/progress.png differ diff --git a/extras/samples.png b/extras/samples.png index 8439d69..f7e7ec2 100644 Binary files a/extras/samples.png and b/extras/samples.png differ diff --git a/extras/samples2.png b/extras/samples2.png index 2dfd2c4..40a70e2 100644 Binary files a/extras/samples2.png and b/extras/samples2.png differ diff --git a/extras/showcases.txt b/extras/showcases.txt index b6fdd3d..84ac2ff 100644 --- a/extras/showcases.txt +++ b/extras/showcases.txt @@ -1,9 +1,9 @@ - .= .- ..= := ::= =:= __ + .= ..= := ::= =:= __ == != === !== =/= =!= <-< <<- <-- <- <-> -> --> ->> >-> -<=< <<= <== <<->> <=> => ==> =>> >=> - >>= >>- >- <~> -< -<< =<< +<=< <== <<->> <=> => ==> =>> >=> + >>- >- <~> -< -<< =<< <-| <=| /\ \/ |-> |=> <~~ <~ ~~ ~> ~~> @@ -26,7 +26,7 @@ =~ !~ ~- -~ ~@ ^= ?= /= /== - -| _|_ |- ||- |= ||= + -| _|_ |- ||- #! #= ## ### #### #{ #[ ]# #( #? #_ #_( @@ -48,8 +48,15 @@ r 0 123456789 & && $ <$ <$> $> @ <= >= # Unicode +       +⌀ ⌃ ⌄ ⌅ ⌆ ⌘ ⌤ ⌥ ⎇ ⎋ ⏏ ⎈ ✓ ⌂ ⇪ ⌧ ⌫ ⌦ ⌨ ⏎ � +☐ ☑ ☒ ■ □ ▢ ▣ ▤ ▦ ▧ ▨ ▩ ◧ ◨ ◩ ◪ ◫ ◰ ◱ ◲ ◳ +⊜ 🄍 🄎 🄏 🅭 🅮 🅯 🆭 +⟲ ⟳ ⟰ ⟱ ⟴ ⟵ ⟶ ⟷ ⟸ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿ ↩ ↪ ⇞ ⇟ ⇤ ⇥ ↰ ↱ ↲ ↳ ❰ ❱ +            + ≢ ẞ ᐅ ᐊ ∴ ∵ ⎈ ‖ ∧ ∨ ⊢ ⊣ ⊤ ⊥ ⊦ ⊧ ⊨ ⊩ ⊪ ⊫ ⊬ ⊭ ⊮ ⊯ -⟲⟳ ⟰ ⟱ ⟴ ⟵ ⟶ ⟷ ⟸ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿ +⟲ ⟳ ⟰ ⟱ ⟴ ⟵ ⟶ ⟷ ⟸ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿ ↩ ⇞ ⇟ ⇤ ⇥ ⌀ ⌃ ⌄ ⌅ ⌆ ⌘ ⌤ ⌥ ⎇ ⎋ ⏏ ✓ ☐ ☑ ☒ ▤ ▦ ▧ ▨ ▩ ␆ ␈ ␇ ␣ ␢ ␘ ␍ ␐ ␡ ␥ ␔ ␑ ␓ ␒ ␙ ␃ ␄ ␗ ␅ ␛ ␜ ␌ ␝ ␉ ␊ ␕ ␤ ␀ ␞ ␏ ␎ ␠ ␁ ␂ ␚ ␦ ␖ ␟ ␋ ℂ ℍ ℕ ℙ ℚ ℝ ℤ 𝔹 ∀ ∃ ∄ ∅ ⊂ ⊃ ⊄ ⊅ ⊆ ⊇ ⊈ ⊉ ⊊ ⊋ ∈ ∉ ∊ ∋ ∌ ∍ ∪ ∩ diff --git a/extras/stylistic_sets.png b/extras/stylistic_sets.png deleted file mode 100644 index a7168ea..0000000 Binary files a/extras/stylistic_sets.png and /dev/null differ diff --git a/script/build_docker.sh b/script/build_docker.sh new file mode 100755 index 0000000..83fd96b --- /dev/null +++ b/script/build_docker.sh @@ -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 \ No newline at end of file diff --git a/script/progress.clj b/script/progress.clj index 55c777d..04069c3 100755 --- a/script/progress.clj +++ b/script/progress.clj @@ -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))) \ No newline at end of file