From 8cadbf7ed2778634ad51357f61851ed78d96ea58 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 16 Sep 2017 18:26:48 +0200 Subject: The original font "Font Awesome" has been replaced by a minimized version from Fontello.com, which contains only the absolutely necessary icons. This reduces the size of the font file to download to approximately 70 kilobytes. This is beneficial for smartphone users who have an extremely throttled data connection (for example, 32 KBit/s – yes, no joke!), which is not unusual in Germany where mobile internet is still expensive. On the other hand, it is always a good idea to load only what is really necessary. And why always (with cold browser cache) download unnecessary 70 kilobytes, when it is not necessary? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/rsrc/font/font-awesome-fontello.json | 190 +++++++++++++++++++++ .../admin/rsrc/font/font-awesome-fontello.woff2 | Bin 0 -> 8672 bytes template/admin/rsrc/font/font-awesome.woff2 | Bin 77160 -> 0 bytes template/admin/rsrc/main.css | 6 +- 4 files changed, 193 insertions(+), 3 deletions(-) create mode 100644 template/admin/rsrc/font/font-awesome-fontello.json create mode 100644 template/admin/rsrc/font/font-awesome-fontello.woff2 delete mode 100644 template/admin/rsrc/font/font-awesome.woff2 (limited to 'template/admin/rsrc') diff --git a/template/admin/rsrc/font/font-awesome-fontello.json b/template/admin/rsrc/font/font-awesome-fontello.json new file mode 100644 index 0000000..8dd8631 --- /dev/null +++ b/template/admin/rsrc/font/font-awesome-fontello.json @@ -0,0 +1,190 @@ +{ + "name": "", + "css_prefix_text": "fa-", + "css_use_suffix": false, + "hinting": true, + "units_per_em": 1000, + "ascent": 850, + "glyphs": [ + { + "uid": "7432077e6a2d6aa19984ca821bb6bbda", + "css": "bug", + "code": 61832, + "src": "fontawesome" + }, + { + "uid": "f2aa28a2548ed3d2be718d087b65ee21", + "css": "key", + "code": 61572, + "src": "fontawesome" + }, + { + "uid": "0ddd3e8201ccc7d41f7b7c9d27eca6c1", + "css": "link", + "code": 61633, + "src": "fontawesome" + }, + { + "uid": "02cca871bb69da75e8ee286b7055832c", + "css": "bold", + "code": 61490, + "src": "fontawesome" + }, + { + "uid": "7034e4d22866af82bef811f52fb1ba46", + "css": "code", + "code": 61729, + "src": "fontawesome" + }, + { + "uid": "8b80d36d4ef43889db10bc1f0dc9a862", + "css": "user", + "code": 61447, + "src": "fontawesome" + }, + { + "uid": "9755f76110ae4d12ac5f9466c9152031", + "css": "book", + "code": 61485, + "src": "fontawesome" + }, + { + "uid": "a8cb1c217f02b073db3670c061cc54d2", + "css": "italic", + "code": 61491, + "src": "fontawesome" + }, + { + "uid": "0c708edd8fae2376b3370aa56d40cf9e", + "css": "header", + "code": 61916, + "src": "fontawesome" + }, + { + "uid": "f48ae54adfb27d8ada53d0fd9e34ee10", + "css": "trash-o", + "code": 61460, + "src": "fontawesome" + }, + { + "uid": "3a00327e61b997b58518bd43ed83c3df", + "css": "sign-in", + "code": 61584, + "src": "fontawesome" + }, + { + "uid": "598a5f2bcf3521d1615de8e1881ccd17", + "css": "clock-o", + "code": 61463, + "src": "fontawesome" + }, + { + "uid": "a2a74f5e7b7d9ba054897d8c795a326a", + "css": "list-ul", + "code": 61642, + "src": "fontawesome" + }, + { + "uid": "f6766a8b042c2453a4e153af03294383", + "css": "list-ol", + "code": 61643, + "src": "fontawesome" + }, + { + "uid": "347c38a8b96a509270fdcabc951e7571", + "css": "database", + "code": 61888, + "src": "fontawesome" + }, + { + "uid": "4fc9b8c122d1b5ca3df42a104a655e8b", + "css": "language", + "code": 61867, + "src": "fontawesome" + }, + { + "uid": "0d20938846444af8deb1920dc85a29fb", + "css": "sign-out", + "code": 61579, + "src": "fontawesome" + }, + { + "uid": "0bda4bc779d4c32623dec2e43bd67ee8", + "css": "dashboard", + "code": 61668, + "src": "fontawesome" + }, + { + "uid": "381da2c2f7fd51f8de877c044d7f439d", + "css": "picture-o", + "code": 61502, + "src": "fontawesome" + }, + { + "uid": "bf882b30900da12fca090d9796bc3030", + "css": "envelope-o", + "code": 61443, + "src": "fontawesome" + }, + { + "uid": "555ef8c86832e686fef85f7af2eb7cde", + "css": "arrow-left", + "code": 61536, + "src": "fontawesome" + }, + { + "uid": "d745d7c05b94e609decabade2cae12cb", + "css": "quote-right", + "code": 61710, + "src": "fontawesome" + }, + { + "uid": "f9c8ea86275ca16128235c6452b67b8e", + "css": "user-secret", + "code": 61979, + "src": "fontawesome" + }, + { + "uid": "5408be43f7c42bccee419c6be53fdef5", + "css": "file-text-o", + "code": 61686, + "src": "fontawesome" + }, + { + "uid": "032bd8bbd70adf90ead98b6813bfe446", + "css": "newspaper-o", + "code": 61930, + "src": "fontawesome" + }, + { + "uid": "ad6b3fbb5324abe71a9c0b6609cbb9f1", + "css": "arrow-right", + "code": 61537, + "src": "fontawesome" + }, + { + "uid": "e15f0d620a7897e2035c18c80142f6d9", + "css": "external-link", + "code": 61582, + "src": "fontawesome" + }, + { + "uid": "0ece9a12de796b8411f868d582bee678", + "css": "github-square", + "code": 61586, + "src": "fontawesome" + }, + { + "uid": "41087bc74d4b20b55059c60a33bf4008", + "css": "pencil-square-o", + "code": 61508, + "src": "fontawesome" + }, + { + "uid": "c76b7947c957c9b78b11741173c8349b", + "css": "exclamation-triangle", + "code": 61553, + "src": "fontawesome" + } + ] +} \ No newline at end of file diff --git a/template/admin/rsrc/font/font-awesome-fontello.woff2 b/template/admin/rsrc/font/font-awesome-fontello.woff2 new file mode 100644 index 0000000..237b871 Binary files /dev/null and b/template/admin/rsrc/font/font-awesome-fontello.woff2 differ diff --git a/template/admin/rsrc/font/font-awesome.woff2 b/template/admin/rsrc/font/font-awesome.woff2 deleted file mode 100644 index 4d13fc6..0000000 Binary files a/template/admin/rsrc/font/font-awesome.woff2 and /dev/null differ diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css index c115605..0666c63 100644 --- a/template/admin/rsrc/main.css +++ b/template/admin/rsrc/main.css @@ -219,7 +219,7 @@ label:after{content:":";} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* FontAwesome Main /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.fa{display:inline-block;font:normal normal normal 14px/1 "FontAwesome";font-size:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} +.fa{font:normal normal normal 14px/1 FontAwesome;font-size:inherit;speak:none;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* FontAwesome Icons @@ -279,9 +279,9 @@ label:after{content:":";} } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -/* Font "Font Awesome" [4.7.0]: SIL Open Font License (OFL) +/* Font "Font Awesome" [4.7.0] (by Fontello): SIL Open Font License (OFL) /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -@font-face{font-family:"FontAwesome";font-weight:400;src:url("font/font-awesome.woff2") format("woff2");} +@font-face{font-family:FontAwesome;font-weight:400;src:url("font/font-awesome-fontello.woff2") format("woff2");} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Font "Kadwa": SIL Open Font License (OFL) -- cgit v1.2.3