kopia lustrzana https://github.com/tonsky/FiraCode
Added `//=` `=//` `=//=` (closes #816)
rodzic
d41386567b
commit
267a6fd221
|
@ -11,7 +11,8 @@ All notable changes to this project will be documented in this file.
|
|||
- Vertically-aligned colons, greater/less signs #980 #1061
|
||||
- Make U+2388 Helm Symbol `⎈` single-width #1036
|
||||
- Disable `=/` because of conflicts with paths `PATH=/...` #1056
|
||||
- Fixed STAT table in FiraCode-VF.ttf #1054
|
||||
- Fixed STAT table in FiraCode-VF.ttf #770 #1054
|
||||
- Added `//=` `=//` `=//=` #816
|
||||
|
||||
#### 4.0 (May 18, 2020)
|
||||
|
||||
|
|
268
FiraCode.glyphs
268
FiraCode.glyphs
File diff suppressed because one or more lines are too long
|
@ -172,6 +172,11 @@
|
|||
(str " ignore sub [hyphen equal] bar' bar;\n"
|
||||
" ignore sub bar' bar [hyphen equal];\n")
|
||||
|
||||
;; #816 //=
|
||||
["slash" "slash"]
|
||||
(str " ignore sub equal slash' slash;\n"
|
||||
" ignore sub slash' slash equal;\n")
|
||||
|
||||
;; #346 <--> >--< |--|
|
||||
["hyphen" "hyphen"]
|
||||
(str " ignore sub [less greater bar] hyphen' hyphen;\n"
|
||||
|
|
|
@ -330,3 +330,4 @@ _| |_ _||_ __| ___| |__ |___
|
|||
#479 #468 #424 #406 #355 #305 =< ==< =<< |=<
|
||||
#574 :>=
|
||||
#621 <||>
|
||||
#1056 =/
|
||||
|
|
|
@ -5,9 +5,9 @@ lookup equal_arrows {
|
|||
ignore sub [equal_start.seq equal_middle.seq] bar' bar bar;
|
||||
|
||||
# equal middle & end
|
||||
sub [less_equal_start.seq less_less_equal_start.seq less_equal_middle.seq less_less_equal_middle.seq greater_equal_start.seq greater_greater_equal_start.seq greater_equal_middle.seq greater_greater_equal_middle.seq bar_equal_start.seq bar_bar_equal_start.seq bar_equal_middle.seq bar_bar_equal_middle.seq slash_equal_start.seq slash_equal_middle.seq colon_equal_middle.seq exclam_equal_middle.seq equal_start.seq equal_middle.seq] equal' [equal less greater bar slash colon exclam] by equal_middle.seq;
|
||||
sub [less_equal_start.seq less_less_equal_start.seq less_equal_middle.seq less_less_equal_middle.seq greater_equal_start.seq greater_greater_equal_start.seq greater_equal_middle.seq greater_greater_equal_middle.seq bar_equal_start.seq bar_bar_equal_start.seq bar_equal_middle.seq bar_bar_equal_middle.seq slash_equal_start.seq slash_slash_equal_start.seq slash_equal_middle.seq slash_slash_equal_middle.seq colon_equal_middle.seq exclam_equal_middle.seq equal_start.seq equal_middle.seq] equal' [equal less greater bar slash colon exclam] by equal_middle.seq;
|
||||
|
||||
sub [less_equal_start.seq less_less_equal_start.seq less_equal_middle.seq less_less_equal_middle.seq greater_equal_start.seq greater_greater_equal_start.seq greater_equal_middle.seq greater_greater_equal_middle.seq bar_equal_start.seq bar_bar_equal_start.seq bar_equal_middle.seq bar_bar_equal_middle.seq slash_equal_start.seq slash_equal_middle.seq colon_equal_middle.seq exclam_equal_middle.seq equal_start.seq equal_middle.seq] equal' by equal_end.seq;
|
||||
sub [less_equal_start.seq less_less_equal_start.seq less_equal_middle.seq less_less_equal_middle.seq greater_equal_start.seq greater_greater_equal_start.seq greater_equal_middle.seq greater_greater_equal_middle.seq bar_equal_start.seq bar_bar_equal_start.seq bar_equal_middle.seq bar_bar_equal_middle.seq slash_equal_start.seq slash_slash_equal_start.seq slash_equal_middle.seq slash_slash_equal_middle.seq colon_equal_middle.seq exclam_equal_middle.seq equal_start.seq equal_middle.seq] equal' by equal_end.seq;
|
||||
|
||||
# double middles
|
||||
sub [equal_start.seq equal_middle.seq] less.spacer less' equal by less_less_equal_middle.seq;
|
||||
|
@ -16,6 +16,8 @@ lookup equal_arrows {
|
|||
sub [equal_start.seq equal_middle.seq] greater' greater equal by greater.spacer;
|
||||
sub [equal_start.seq equal_middle.seq] bar.spacer bar' equal by bar_bar_equal_middle.seq;
|
||||
sub [equal_start.seq equal_middle.seq] bar' bar equal by bar.spacer;
|
||||
sub [equal_start.seq equal_middle.seq] slash.spacer slash' equal by slash_slash_equal_middle.seq;
|
||||
sub [equal_start.seq equal_middle.seq] slash' slash equal by slash.spacer;
|
||||
|
||||
# single middles
|
||||
sub [equal_start.seq equal_middle.seq] less' equal by less_equal_middle.seq;
|
||||
|
@ -32,6 +34,8 @@ lookup equal_arrows {
|
|||
sub [equal_start.seq equal_middle.seq] greater' greater by greater.spacer;
|
||||
sub [equal_start.seq equal_middle.seq] bar.spacer bar' by bar_bar_equal_end.seq;
|
||||
sub [equal_start.seq equal_middle.seq] bar' bar by bar.spacer;
|
||||
sub [equal_start.seq equal_middle.seq] slash.spacer slash' by slash_slash_equal_end.seq;
|
||||
sub [equal_start.seq equal_middle.seq] slash' slash by slash.spacer;
|
||||
|
||||
# single ends
|
||||
sub [equal_start.seq equal_middle.seq] less' by less_equal_end.seq;
|
||||
|
@ -46,6 +50,8 @@ lookup equal_arrows {
|
|||
sub greater' greater equal by greater.spacer;
|
||||
sub bar.spacer bar' equal by bar_bar_equal_start.seq;
|
||||
sub bar' bar equal by bar.spacer;
|
||||
sub slash.spacer slash' equal by slash_slash_equal_start.seq;
|
||||
sub slash' slash equal by slash.spacer;
|
||||
|
||||
# Disable >=< #548
|
||||
sub greater' equal less [equal less] by greater_equal_start.seq;
|
||||
|
@ -55,7 +61,7 @@ lookup equal_arrows {
|
|||
sub equal' less [equal less] by equal_start.seq;
|
||||
|
||||
# Disable =/ #1056
|
||||
sub equal' slash equal by equal_start.seq;
|
||||
sub equal' slash [equal slash] by equal_start.seq;
|
||||
|
||||
# single beginnings
|
||||
sub less' equal by less_equal_start.seq;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
#!/bin/bash -euo pipefail
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
|
@ -17,8 +17,6 @@ for weight in "${weights[@]}"; do
|
|||
gftools fix-dsig --autofix ${file}
|
||||
|
||||
echo "TTFautohint " ${file}
|
||||
hintedFile=${file/".ttf"/"-hinted.ttf"}
|
||||
ttfautohint -I ${file} ${hintedFile} --stem-width-mode nnn --composites
|
||||
# --windows-compatibility
|
||||
mv ${hintedFile} ${file}
|
||||
ttfautohint -I ${file} ${file}.hinted --stem-width-mode nnn --composites --windows-compatibility
|
||||
mv ${file}.hinted ${file}
|
||||
done
|
Ładowanie…
Reference in New Issue