Skip to content

Commit

Permalink
Fixed OpenSans font not loading in Internet Explorere by adding `woff…
Browse files Browse the repository at this point in the history
…` format
  • Loading branch information
remomueller committed Jul 1, 2015
1 parent f97203d commit 5d64364
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
### Bug Fix
- Fixed average satisfaction percentage calculation on My Sleep Apnea Treatment report
- Adjusted size of large image in about me report that caused screen to stretch
- Fixed OpenSans font not loading in Internet Explorere by adding `woff` format

## 7.2.2 (June 25, 2015)

Expand Down
Binary file added app/assets/fonts/opensans/OpenSans-Bold.woff
Binary file not shown.
Binary file added app/assets/fonts/opensans/OpenSans-Light.woff
Binary file not shown.
Binary file added app/assets/fonts/opensans/OpenSans-Regular.woff
Binary file not shown.
9 changes: 6 additions & 3 deletions app/assets/stylesheets/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: asset-url('opensans/OpenSans-Light.ttf') format('truetype');
src: asset-url('opensans/OpenSans-Light.woff') format('woff'),
asset-url('opensans/OpenSans-Light.ttf') format('truetype');
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: asset-url('opensans/OpenSans-Regular.ttf') format('truetype');
src: asset-url('opensans/OpenSans-Regular.woff') format('woff'),
asset-url('opensans/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: asset-url('opensans/OpenSans-Bold.ttf') format('truetype');
src: asset-url('opensans/OpenSans-Bold.woff') format('woff'),
asset-url('opensans/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
Expand Down

0 comments on commit 5d64364

Please sign in to comment.