Merge pull request #682 from thelounge/xpaw/svg-ttf

Remove all font files except WOFF
This commit is contained in:
Jérémie Astori 2016-10-09 15:26:52 -04:00 committed by GitHub
commit 8a4100cd01
10 changed files with 6 additions and 8621 deletions

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 244 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

View File

@ -2,38 +2,31 @@
font-family: "Lato"; font-family: "Lato";
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
src: url("fonts/Lato-regular/Lato-regular.eot");
src: src:
url("fonts/Lato-regular/Lato-regular.eot?#iefix") format("embedded-opentype"),
local("Lato Regular"), local("Lato Regular"),
local("Lato-regular"), local("Lato-regular"),
url("fonts/Lato-regular/Lato-regular.woff2") format("woff2"), url("fonts/Lato-regular/Lato-regular.woff2") format("woff2"),
url("fonts/Lato-regular/Lato-regular.woff") format("woff"), url("fonts/Lato-regular/Lato-regular.woff") format("woff");
url("fonts/Lato-regular/Lato-regular.ttf") format("truetype"),
url("fonts/Lato-regular/Lato-regular.svg#Lato") format("svg");
} }
@font-face { @font-face {
font-family: "Lato"; font-family: "Lato";
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
src: url("fonts/Lato-700/Lato-700.eot");
src: src:
url("fonts/Lato-700/Lato-700.eot?#iefix") format("embedded-opentype"),
local("Lato Bold"), local("Lato Bold"),
local("Lato-700"), local("Lato-700"),
url("fonts/Lato-700/Lato-700.woff2") format("woff2"), url("fonts/Lato-700/Lato-700.woff2") format("woff2"),
url("fonts/Lato-700/Lato-700.woff") format("woff"), url("fonts/Lato-700/Lato-700.woff") format("woff");
url("fonts/Lato-700/Lato-700.ttf") format("truetype"),
url("fonts/Lato-700/Lato-700.svg#Lato") format("svg");
} }
@font-face { @font-face {
font-family: "FontAwesome"; font-family: "FontAwesome";
src: url("../fonts/fontawesome-webfont.eot?v=4.6.3");
src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2?v=4.6.3") format("woff2"), url("../fonts/fontawesome-webfont.woff?v=4.6.3") format("woff"), url("../fonts/fontawesome-webfont.ttf?v=4.6.3") format("truetype"), url("../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular") format("svg");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
src:
url("../fonts/fontawesome-webfont.woff2?v=4.6.3") format("woff2"),
url("../fonts/fontawesome-webfont.woff?v=4.6.3") format("woff");
} }
html, html,

View File

@ -10,7 +10,7 @@ GitHub: https://github.com/aynik
@font-face { @font-face {
font-family: Inconsolata-g; font-family: Inconsolata-g;
src: url("../css/fonts/inconsolatag.woff") format("woff"), url("../css/fonts/inconsolatag.ttf") format("ttf"); src: url("../css/fonts/inconsolatag.woff") format("woff");
} }
body { body {

View File

@ -5,9 +5,6 @@ var fs = require("fs-extra");
var srcDir = "./node_modules/font-awesome/fonts/"; var srcDir = "./node_modules/font-awesome/fonts/";
var destDir = "./client/fonts/"; var destDir = "./client/fonts/";
var fonts = [ var fonts = [
"fontawesome-webfont.eot",
"fontawesome-webfont.svg",
"fontawesome-webfont.ttf",
"fontawesome-webfont.woff", "fontawesome-webfont.woff",
"fontawesome-webfont.woff2" "fontawesome-webfont.woff2"
]; ];