Browse Source

add eot font for ie

hakimel 12 years ago
parent
commit
6bc92af17c
4 changed files with 7 additions and 4 deletions
  1. 1 0
      README.md
  2. 5 3
      css/main.css
  3. 1 1
      js/reveal.js
  4. BIN
      lib/font/league_gothic-webfont.eot

+ 1 - 0
README.md

@@ -201,6 +201,7 @@ You can change the appearance of the speaker notes by editing the file at `plugi
 - Fixed bug where the ```.present``` class was sometimes left on the previous slide
 - Added support for slides written using markdown
 - Added helped method ```Reveal.getQueryHash()```
+- Added EOT font for IE support
 
 #### 1.4
 - Main ```#reveal container``` is now selected via a class instead of ID

+ 5 - 3
css/main.css

@@ -12,9 +12,11 @@
 
 @font-face {
 	font-family: 'League Gothic';
-	src: url('../lib/font/league_gothic-webfont.ttf') format('truetype');
-	font-weight: normal;
-	font-style: normal;
+    src: url('../lib/font/league_gothic-webfont.eot');
+    src: url('../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
+         url('../lib/font/league_gothic-webfont.ttf') format('truetype');
+    font-weight: normal;
+    font-style: normal;
 }
 
 

+ 1 - 1
js/reveal.js

@@ -1,5 +1,5 @@
 /*!
- * reveal.js 1.5 r7
+ * reveal.js 1.5 r8
  * http://lab.hakim.se/reveal-js
  * MIT licensed
  * 

BIN
lib/font/league_gothic-webfont.eot