use embdded fonts for reveal 3.2.0
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/beige.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/beige.css
index be18733..b009339 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/beige.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/beige.css
@@ -1,10 +1,41 @@
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/Lato.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/LatoBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 400;
+ src: url(fonts/LatoItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/LatoBoldItalic.ttf) format('truetype');
+}
+
/**
* Beige theme for reveal.js.
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
-@import url(../../lib/font/league-gothic/league-gothic.css);
-@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+@font-face {
+ font-family: 'League Gothic';
+ 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.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
+ font-weight: normal;
+ font-style: normal; }
+
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/blood.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/blood.css
index e035ab6..3a852f7 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/blood.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/blood.css
@@ -1,3 +1,29 @@
+@font-face {
+ font-family: 'Ubuntu';
+ font-style: normal;
+ font-weight: 300;
+ src: url(fonts/UbuntuLight.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Ubuntu';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/UbuntuBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Ubuntu';
+ font-style: italic;
+ font-weight: 300;
+ src: url(fonts/UbuntuLightItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Ubuntu';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/UbuntuBoldItalic.ttf) format('truetype');
+}
+
+
/**
* Blood theme for reveal.js
* Author: Walther http://github.com/Walther
@@ -9,7 +35,7 @@
* For other themes, change $codeBackground accordingly.
*
*/
-@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/league.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/league.css
index fa9f53c..0213c6d 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/league.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/league.css
@@ -1,3 +1,27 @@
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/Lato.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/LatoBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 400;
+ src: url(fonts/LatoItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/LatoBoldItalic.ttf) format('truetype');
+}
/**
* League theme for reveal.js.
*
@@ -5,8 +29,13 @@
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
-@import url(../../lib/font/league-gothic/league-gothic.css);
-@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+ @font-face {
+ font-family: 'League Gothic';
+ 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.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
+ font-weight: normal;
+ font-style: normal; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/moon.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/moon.css
index b119576..d7c3340 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/moon.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/moon.css
@@ -3,7 +3,33 @@
* Author: Achim Staebler
*/
@import url(../../lib/font/league-gothic/league-gothic.css);
-@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/Lato.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/LatoBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 400;
+ src: url(fonts/LatoItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/LatoBoldItalic.ttf) format('truetype');
+}
+
+
/**
* Solarized colors by Ethan Schoonover
*/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/night.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/night.css
index 3d0e3c5..1cf76fa 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/night.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/night.css
@@ -3,8 +3,40 @@
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
-@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
-@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
+
+@font-face {
+ font-family: 'Montserrat';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/Montserrat.ttf) format('truetype');
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/OpenSans.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/OpenSansBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 400;
+ src: url(fonts/OpenSansItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/OpenSansBoldItalic.ttf) format('truetype');
+}
+
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/simple.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/simple.css
index 20d919d..d6f7720 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/simple.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/simple.css
@@ -5,8 +5,45 @@
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
-@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
-@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+
+
+@font-face {
+ font-family: 'News Cycle';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/NewsCycle.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'News Cycle';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/NewsCycleBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/Lato.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/LatoBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 400;
+ src: url(fonts/LatoItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/LatoBoldItalic.ttf) format('truetype');
+}
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/sky.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/sky.css
index e762a50..3800bd7 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/sky.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/sky.css
@@ -3,8 +3,44 @@
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
-@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
-@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
+
+@font-face {
+ font-family: 'Quicksand';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/Quicksand.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Quicksand';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/QuicksandBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/OpenSans.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/OpenSansBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 400;
+ src: url(fonts/OpenSansItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Open Sans';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/OpenSansBoldItalic.ttf) format('truetype');
+}
+
.reveal a {
line-height: 1.3em; }
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/solarized.css b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/solarized.css
index bf2f651..d444304 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/solarized.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/reveal.js-3.2.0/css/theme/solarized.css
@@ -2,8 +2,40 @@
* Solarized Light theme for reveal.js.
* Author: Achim Staebler
*/
-@import url(../../lib/font/league-gothic/league-gothic.css);
-@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/Lato.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: normal;
+ font-weight: 700;
+ src: url(fonts/LatoBold.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 400;
+ src: url(fonts/LatoItalic.ttf) format('truetype');
+}
+@font-face {
+ font-family: 'Lato';
+ font-style: italic;
+ font-weight: 700;
+ src: url(fonts/LatoBoldItalic.ttf) format('truetype');
+}
+
+@font-face {
+ font-family: 'League Gothic';
+ 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.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
+ font-weight: normal;
+ font-style: normal; }
+
+
/**
* Solarized colors by Ethan Schoonover
*/