diff --git a/.gitignore b/.gitignore index df22022..4d1ca16 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ FiraCode\ (Autosaved).glyphs .cpcache master_ufo instance_ufo -venv \ No newline at end of file +venv +.DS_Store \ No newline at end of file diff --git a/distr/eot/FiraCode-Bold.eot b/distr/eot/FiraCode-Bold.eot deleted file mode 100644 index e661db7..0000000 Binary files a/distr/eot/FiraCode-Bold.eot and /dev/null differ diff --git a/distr/eot/FiraCode-Light.eot b/distr/eot/FiraCode-Light.eot deleted file mode 100644 index 387cb65..0000000 Binary files a/distr/eot/FiraCode-Light.eot and /dev/null differ diff --git a/distr/eot/FiraCode-Medium.eot b/distr/eot/FiraCode-Medium.eot deleted file mode 100644 index 8713972..0000000 Binary files a/distr/eot/FiraCode-Medium.eot and /dev/null differ diff --git a/distr/eot/FiraCode-Regular.eot b/distr/eot/FiraCode-Regular.eot deleted file mode 100644 index cef458e..0000000 Binary files a/distr/eot/FiraCode-Regular.eot and /dev/null differ diff --git a/distr/fira_code.css b/distr/fira_code.css index f8e4a5b..e7cb634 100644 --- a/distr/fira_code.css +++ b/distr/fira_code.css @@ -1,43 +1,32 @@ -@font-face{ - font-family: 'Fira Code'; - src: url('eot/FiraCode-Light.eot'); - src: url('eot/FiraCode-Light.eot') format('embedded-opentype'), - url('woff2/FiraCode-Light.woff2') format('woff2'), - url('woff/FiraCode-Light.woff') format('woff'), - url('ttf/FiraCode-Light.ttf') format('truetype'); - font-weight: 300; - font-style: normal; +@font-face { + font-family: 'Fira Code'; + src: url('woff2/FiraCode-Light.woff2') format('woff2'); + font-weight: 300; + font-style: normal; } -@font-face{ - font-family: 'Fira Code'; - src: url('eot/FiraCode-Regular.eot'); - src: url('eot/FiraCode-Regular.eot') format('embedded-opentype'), - url('woff2/FiraCode-Regular.woff2') format('woff2'), - url('woff/FiraCode-Regular.woff') format('woff'), - url('ttf/FiraCode-Regular.ttf') format('truetype'); - font-weight: 400; - font-style: normal; +@font-face { + font-family: 'Fira Code'; + src: url('woff2/FiraCode-Regular.woff2') format('woff2'); + font-weight: 400; + font-style: normal; } -@font-face{ - font-family: 'Fira Code'; - src: url('eot/FiraCode-Medium.eot'); - src: url('eot/FiraCode-Medium.eot') format('embedded-opentype'), - url('woff2/FiraCode-Medium.woff2') format('woff2'), - url('woff/FiraCode-Medium.woff') format('woff'), - url('ttf/FiraCode-Medium.ttf') format('truetype'); - font-weight: 500; - font-style: normal; +@font-face { + font-family: 'Fira Code'; + src: url('woff2/FiraCode-Medium.woff2') format('woff2'); + font-weight: 500; + font-style: normal; } -@font-face{ - font-family: 'Fira Code'; - src: url('eot/FiraCode-Bold.eot'); - src: url('eot/FiraCode-Bold.eot') format('embedded-opentype'), - url('woff2/FiraCode-Bold.woff2') format('woff2'), - url('woff/FiraCode-Bold.woff') format('woff'), - url('ttf/FiraCode-Bold.ttf') format('truetype'); - font-weight: 700; - font-style: normal; +@font-face { + font-family: 'Fira Code'; + src: url('woff2/FiraCode-Bold.woff2') format('woff2'); + font-weight: 700; + font-style: normal; +} + +@font-face { + font-family: 'Fira Code VF'; + src: url('variable_ttf/FiraCode-VF.ttf') format('truetype'); } \ No newline at end of file diff --git a/distr/specimen.html b/distr/specimen.html index 4ee2cf9..ffc424f 100644 --- a/distr/specimen.html +++ b/distr/specimen.html @@ -20,9 +20,17 @@ .regular { font-weight: 400; } .medium { font-weight: 500; } .bold { font-weight: 700; } + .variable { font-family: 'Fira Code VF'; font-variation-settings: 'wght' 400; } i { font-style: normal; color: #c33; } b { font-weight: inherit; color: #c33; } +
# Fira Code Light @@ -35,7 +43,7 @@ take = (n, [x, ...xs]:list) --> last3 = reverse >> take 3 >> reverse
-
# Fira Code Regular +
# Fira Code Regular take = (n, [x, ...xs]:list) --> | n <= 0 => [] @@ -45,7 +53,7 @@ take = (n, [x, ...xs]:list) --> last3 = reverse >> take 3 >> reverse
-
# Fira Code Medium +
# Fira Code Medium take = (n, [x, ...xs]:list) --> | n <= 0 => [] @@ -55,7 +63,18 @@ take = (n, [x, ...xs]:list) --> last3 = reverse >> take 3 >> reverse
-
# Fira Code Bold +
# Fira Code Bold + +take = (n, [x, ...xs]:list) --> + | n <= 0 => [] + | empty list => [] + | otherwise => [x] ++ take n-1, xs + +last3 = reverse >> take 3 >> reverse
+ +
# Fira Code Variable + + 400 take = (n, [x, ...xs]:list) --> | n <= 0 => [] diff --git a/distr/woff/FiraCode-Bold.woff b/distr/woff/FiraCode-Bold.woff deleted file mode 100644 index dd7abb6..0000000 Binary files a/distr/woff/FiraCode-Bold.woff and /dev/null differ diff --git a/distr/woff/FiraCode-Light.woff b/distr/woff/FiraCode-Light.woff deleted file mode 100644 index 2ecc26d..0000000 Binary files a/distr/woff/FiraCode-Light.woff and /dev/null differ diff --git a/distr/woff/FiraCode-Medium.woff b/distr/woff/FiraCode-Medium.woff deleted file mode 100644 index 0623267..0000000 Binary files a/distr/woff/FiraCode-Medium.woff and /dev/null differ diff --git a/distr/woff/FiraCode-Regular.woff b/distr/woff/FiraCode-Regular.woff deleted file mode 100644 index 5e4106f..0000000 Binary files a/distr/woff/FiraCode-Regular.woff and /dev/null differ