Skip to content

Commit d735c70

Browse files
committed
Added <<->> (closes #919)
1 parent 308204e commit d735c70

File tree

9 files changed

+57
-4
lines changed

9 files changed

+57
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
#### 3.0
66

7+
- Added `<<->>` [#919]
78
- Disabled `fl` `Fl` `Tl` ligatures, adjusted `l` height in combination with `[F T I f]` instead [#902]
89
- Added U+25A4..25A9 Squares with fill `▤▥▦▧▨▩` [#450]
910
- Slightly tuned multiple ampersands in `ss03` [#831]

FiraCode.glyphs

Lines changed: 37 additions & 3 deletions
Large diffs are not rendered by default.

clojure/fira_code/calt.clj

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,25 @@
188188
" sub 1' 2 3 4 by 1.spacer;\n"
189189
; "sub 1 2 3 4 by 1_2_3_4.liga;"
190190
"} 1_2_3_4;")
191-
#"\d" {"1" a "2" b "3" c "4" d}))))
191+
#"\d" {"1" a "2" b "3" c "4" d}))
192+
5 (let [[a b c d e] liga]
193+
(str/replace
194+
(str
195+
"lookup 1_2_3_4_5 {\n"
196+
(when-not (skip-ignores? liga)
197+
(str " ignore sub 1 1' 2 3 4 5;\n"
198+
" ignore sub 1' 2 3 4 4 5;\n"))
199+
(gen-ignore-prefixes liga)
200+
(get ignores liga)
201+
" sub 1.spacer 2.spacer 3.spacer 4.spacer 5' by 1_2_3_4_5.liga;\n"
202+
" sub 1.spacer 2.spacer 3.spacer 4' 5 by 4.spacer;\n"
203+
" sub 1.spacer 2.spacer 3' 4 5 by 3.spacer;\n"
204+
" sub 1.spacer 2' 3 4 5 by 2.spacer;\n"
205+
" sub 1' 2 3 4 5 by 1.spacer;\n"
206+
; "sub 1 2 3 4 5 by 1_2_3_4_5.liga;"
207+
"} 1_2_3_4_5;")
208+
#"\d" {"1" a "2" b "3" c "4" d "5" e}))
209+
))
192210

193211

194212
(defn compare-ligas [l1 l2]

distr/ttf/FiraCode-Bold.ttf

520 Bytes
Binary file not shown.

distr/ttf/FiraCode-Light.ttf

540 Bytes
Binary file not shown.

distr/ttf/FiraCode-Medium.ttf

520 Bytes
Binary file not shown.

distr/ttf/FiraCode-Regular.ttf

536 Bytes
Binary file not shown.

distr/ttf/FiraCode-Retina.ttf

536 Bytes
Binary file not shown.

distr/ttf/FiraCode-SemiBold.ttf

520 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)