From ce0925cf8c790efc687fc7d4cebcddc9bfec3741 Mon Sep 17 00:00:00 2001 From: Jany Belluz Date: Sat, 16 Nov 2019 16:56:56 +0000 Subject: [PATCH] Stop making EOTs --- README.md | 6 ++---- Scripts/generate-css-decl | 4 +--- Scripts/generate-other-formats | 1 - 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3885cd5..e9b5929 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,8 @@ The build process requires: * FontForge with python scripting support, * `ttfautohint` * `sfnt2woff` (from the `woff-tools` package on Ubuntu) -* `ttf2eot`, for example from [this - repository](https://github.com/harrastia/ttf2eot). * `woff2_compress` from [the Google WOFF2 - tools](https://github.com/google/woff2) + tools](https://github.com/google/woff2) or `woff2` package on Ubuntu Run `make`. You should see green stuff and some "OK" messages. @@ -101,7 +99,7 @@ use on the web, along with the matching CSS font declarations. To use them, you must combine in the same folder: * a custom `.css` file that you can assemble from the `*-decl.css` fragments (you can only pick the styles that you need, e.g. normal and bold) -* the matching `.svg`, `.woff`, `.woff2`, `.eot` files from `Webfonts/` +* the matching `.svg`, `.woff`, `.woff2` files from `Webfonts/` * the matching `.ttf` files from the `TTF/` folder * the matching `.otf` files from the `OTF/` folder. diff --git a/Scripts/generate-css-decl b/Scripts/generate-css-decl index a7d4add..d37e112 100755 --- a/Scripts/generate-css-decl +++ b/Scripts/generate-css-decl @@ -45,9 +45,7 @@ fi cat > "Webfonts/${basename}-decl.css" <= 3.6, any other modern browser */ url('${basename}.ttf') format('truetype'), /* Safari, Android, iOS */ url('${basename}.svg#${fontname}') format('svg'); /* Chrome < 4, Legacy iOS */ diff --git a/Scripts/generate-other-formats b/Scripts/generate-other-formats index 2fbbd0e..b57fe83 100755 --- a/Scripts/generate-other-formats +++ b/Scripts/generate-other-formats @@ -11,4 +11,3 @@ sfnt2woff "TTF/${basename}.ttf" mv "TTF/${basename}.woff" Webfonts woff2_compress "TTF/${basename}.ttf" mv "TTF/${basename}.woff2" Webfonts -ttf2eot "TTF/${basename}.ttf" > "Webfonts/${basename}.eot"