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 @@ + + +
+ + +