Skip to content

Commit

Permalink
Adding webfont formats
Browse files Browse the repository at this point in the history
  • Loading branch information
davegandy committed Jul 28, 2015
1 parent d2d4eb2 commit a1f22ec
Show file tree
Hide file tree
Showing 14 changed files with 284 additions and 164 deletions.
2 changes: 1 addition & 1 deletion css/font-awesome.css
Expand Up @@ -7,7 +7,7 @@
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.4.0');
src: url('../fonts/FontAwesome.otf') format('opentype');
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
Expand Down
2 changes: 1 addition & 1 deletion css/font-awesome.min.css

Large diffs are not rendered by default.

Binary file modified fonts/fontawesome-webfont.eot
Binary file not shown.
210 changes: 135 additions & 75 deletions fonts/fontawesome-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file modified fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file modified fonts/fontawesome-webfont.woff2
Binary file not shown.
12 changes: 6 additions & 6 deletions less/path.less
Expand Up @@ -4,12 +4,12 @@
@font-face {
font-family: 'FontAwesome';
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
// src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
// url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
// url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
// url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
// url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
font-weight: normal;
font-style: normal;
}
Binary file modified src/assets/font-awesome/fonts/fontawesome-webfont.eot
Binary file not shown.
210 changes: 135 additions & 75 deletions src/assets/font-awesome/fonts/fontawesome-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/font-awesome/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file modified src/assets/font-awesome/fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file modified src/assets/font-awesome/fonts/fontawesome-webfont.woff2
Binary file not shown.
12 changes: 6 additions & 6 deletions src/assets/font-awesome/less/path.less
Expand Up @@ -4,12 +4,12 @@
@font-face {
font-family: 'FontAwesome';
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
// src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
// url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
// url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
// url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
// url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
font-weight: normal;
font-style: normal;
}

0 comments on commit a1f22ec

Please sign in to comment.