diff --git a/README.md b/README.md index dafb65c3d8..635b755971 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,7 @@ Other monospaced fonts with ligatures: - Added whiteFrowningFace (U+2639) (#190) - Simplified visual style on markdown headers `##` `###` `####` (#107) - Added `` (#147) +- Provided ttf and webfonts versions (eot, woff, woff2) (#18, #24, #38, #101, #106) #### 1.102 diff --git a/distr/eot/FiraCode-Bold.eot b/distr/eot/FiraCode-Bold.eot new file mode 100644 index 0000000000..b34bdb3512 Binary files /dev/null and b/distr/eot/FiraCode-Bold.eot differ diff --git a/distr/eot/FiraCode-Light.eot b/distr/eot/FiraCode-Light.eot new file mode 100644 index 0000000000..2d78894aba Binary files /dev/null and b/distr/eot/FiraCode-Light.eot differ diff --git a/distr/eot/FiraCode-Medium.eot b/distr/eot/FiraCode-Medium.eot new file mode 100644 index 0000000000..10eda27a4a Binary files /dev/null and b/distr/eot/FiraCode-Medium.eot differ diff --git a/distr/eot/FiraCode-Regular.eot b/distr/eot/FiraCode-Regular.eot new file mode 100644 index 0000000000..1624599ec9 Binary files /dev/null and b/distr/eot/FiraCode-Regular.eot differ diff --git a/distr/eot/FiraCode-Retina.eot b/distr/eot/FiraCode-Retina.eot new file mode 100644 index 0000000000..4afcfb8c3a Binary files /dev/null and b/distr/eot/FiraCode-Retina.eot differ diff --git a/distr/fira_code.css b/distr/fira_code.css new file mode 100644 index 0000000000..f8e4a5b38e --- /dev/null +++ b/distr/fira_code.css @@ -0,0 +1,43 @@ +@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('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('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('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; +} \ No newline at end of file diff --git a/FiraCode-Bold.otf b/distr/otf/FiraCode-Bold.otf similarity index 88% rename from FiraCode-Bold.otf rename to distr/otf/FiraCode-Bold.otf index 88b5c0f406..03655abe4e 100644 Binary files a/FiraCode-Bold.otf and b/distr/otf/FiraCode-Bold.otf differ diff --git a/FiraCode-Light.otf b/distr/otf/FiraCode-Light.otf similarity index 88% rename from FiraCode-Light.otf rename to distr/otf/FiraCode-Light.otf index f4efa626fc..b7d60e56f8 100644 Binary files a/FiraCode-Light.otf and b/distr/otf/FiraCode-Light.otf differ diff --git a/FiraCode-Medium.otf b/distr/otf/FiraCode-Medium.otf similarity index 88% rename from FiraCode-Medium.otf rename to distr/otf/FiraCode-Medium.otf index 60c773019b..ec2563f3e2 100644 Binary files a/FiraCode-Medium.otf and b/distr/otf/FiraCode-Medium.otf differ diff --git a/FiraCode-Regular.otf b/distr/otf/FiraCode-Regular.otf similarity index 88% rename from FiraCode-Regular.otf rename to distr/otf/FiraCode-Regular.otf index 0e23dc11af..c79b4162bf 100644 Binary files a/FiraCode-Regular.otf and b/distr/otf/FiraCode-Regular.otf differ diff --git a/FiraCode-Retina.otf b/distr/otf/FiraCode-Retina.otf similarity index 88% rename from FiraCode-Retina.otf rename to distr/otf/FiraCode-Retina.otf index 43d51fa574..d0a7d8c9cb 100644 Binary files a/FiraCode-Retina.otf and b/distr/otf/FiraCode-Retina.otf differ diff --git a/distr/specimen.html b/distr/specimen.html new file mode 100644 index 0000000000..29845d5fe9 --- /dev/null +++ b/distr/specimen.html @@ -0,0 +1,66 @@ + + + + + + Fira Code Specimen + + + + + +
# Fira Code Light + +take = (n, [x, ...xs]:list) --> + | n <= 0 => [] + | empty list => [] + | otherwise => [x] ++ take n-1, xs + +last3 = reverse >> take 3 >> reverse
+ + +
# Fira Code Regular + +take = (n, [x, ...xs]:list) --> + | n <= 0 => [] + | empty list => [] + | otherwise => [x] ++ take n-1, xs + +last3 = reverse >> take 3 >> reverse
+ + +
# Fira Code Medium + +take = (n, [x, ...xs]:list) --> + | n <= 0 => [] + | empty list => [] + | otherwise => [x] ++ take n-1, xs + +last3 = reverse >> take 3 >> reverse
+ + +
# Fira Code Bold + +take = (n, [x, ...xs]:list) --> + | n <= 0 => [] + | empty list => [] + | otherwise => [x] ++ take n-1, xs + +last3 = reverse >> take 3 >> reverse
diff --git a/distr/ttf/FiraCode-Bold.ttf b/distr/ttf/FiraCode-Bold.ttf new file mode 100644 index 0000000000..d16e60f777 Binary files /dev/null and b/distr/ttf/FiraCode-Bold.ttf differ diff --git a/distr/ttf/FiraCode-Light.ttf b/distr/ttf/FiraCode-Light.ttf new file mode 100644 index 0000000000..cb7f61b572 Binary files /dev/null and b/distr/ttf/FiraCode-Light.ttf differ diff --git a/distr/ttf/FiraCode-Medium.ttf b/distr/ttf/FiraCode-Medium.ttf new file mode 100644 index 0000000000..f869b78110 Binary files /dev/null and b/distr/ttf/FiraCode-Medium.ttf differ diff --git a/distr/ttf/FiraCode-Regular.ttf b/distr/ttf/FiraCode-Regular.ttf new file mode 100644 index 0000000000..09a4dc9862 Binary files /dev/null and b/distr/ttf/FiraCode-Regular.ttf differ diff --git a/distr/ttf/FiraCode-Retina.ttf b/distr/ttf/FiraCode-Retina.ttf new file mode 100644 index 0000000000..d3f2d8ad3b Binary files /dev/null and b/distr/ttf/FiraCode-Retina.ttf differ diff --git a/distr/woff/FiraCode-Bold.woff b/distr/woff/FiraCode-Bold.woff new file mode 100644 index 0000000000..796f8ec822 Binary files /dev/null and b/distr/woff/FiraCode-Bold.woff differ diff --git a/distr/woff/FiraCode-Light.woff b/distr/woff/FiraCode-Light.woff new file mode 100644 index 0000000000..4432535b44 Binary files /dev/null and b/distr/woff/FiraCode-Light.woff differ diff --git a/distr/woff/FiraCode-Medium.woff b/distr/woff/FiraCode-Medium.woff new file mode 100644 index 0000000000..ef235ccf02 Binary files /dev/null and b/distr/woff/FiraCode-Medium.woff differ diff --git a/distr/woff/FiraCode-Regular.woff b/distr/woff/FiraCode-Regular.woff new file mode 100644 index 0000000000..647aca26fb Binary files /dev/null and b/distr/woff/FiraCode-Regular.woff differ diff --git a/distr/woff/FiraCode-Retina.woff b/distr/woff/FiraCode-Retina.woff new file mode 100644 index 0000000000..bf413b9ce4 Binary files /dev/null and b/distr/woff/FiraCode-Retina.woff differ diff --git a/distr/woff2/FiraCode-Bold.woff2 b/distr/woff2/FiraCode-Bold.woff2 new file mode 100644 index 0000000000..012d06be56 Binary files /dev/null and b/distr/woff2/FiraCode-Bold.woff2 differ diff --git a/distr/woff2/FiraCode-Light.woff2 b/distr/woff2/FiraCode-Light.woff2 new file mode 100644 index 0000000000..6f6f1233ad Binary files /dev/null and b/distr/woff2/FiraCode-Light.woff2 differ diff --git a/distr/woff2/FiraCode-Medium.woff2 b/distr/woff2/FiraCode-Medium.woff2 new file mode 100644 index 0000000000..434c6c841c Binary files /dev/null and b/distr/woff2/FiraCode-Medium.woff2 differ diff --git a/distr/woff2/FiraCode-Regular.woff2 b/distr/woff2/FiraCode-Regular.woff2 new file mode 100644 index 0000000000..12ae7b1f35 Binary files /dev/null and b/distr/woff2/FiraCode-Regular.woff2 differ diff --git a/distr/woff2/FiraCode-Retina.woff2 b/distr/woff2/FiraCode-Retina.woff2 new file mode 100644 index 0000000000..f5a2bafaa2 Binary files /dev/null and b/distr/woff2/FiraCode-Retina.woff2 differ