restore embedded fonts (they were lost in move to reveal 3)
diff --git a/inst/rmarkdown/templates/revealjs_presentation/css/theme/beige.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/beige.css
index 514427c..8ca9c06 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/beige.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/beige.css
@@ -1,10 +1,40 @@
-@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');
+}
+
/**
* Beige theme for reveal.js.
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
+@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/css/theme/blood.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/blood.css
index 768d2a3..3e1adbc 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/blood.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/blood.css
@@ -1,4 +1,29 @@
-@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
+@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
diff --git a/inst/rmarkdown/templates/revealjs_presentation/css/theme/league.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/league.css
index c6d07f6..1138597 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/league.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/league.css
@@ -1,5 +1,27 @@
-@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');
+}
/**
* League theme for reveal.js.
*
@@ -7,6 +29,13 @@
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
+ @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/css/theme/moon.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/moon.css
index 4817c18..8836f87 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/moon.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/moon.css
@@ -1,9 +1,40 @@
-@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 Dark theme for reveal.js.
* Author: Achim Staebler
*/
+@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
*/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/css/theme/night.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/night.css
index 71319b2..3c4a8f3 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/night.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/night.css
@@ -1,5 +1,36 @@
-@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');
+}
+
+
/**
* Black theme for reveal.js.
*
diff --git a/inst/rmarkdown/templates/revealjs_presentation/css/theme/simple.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/simple.css
index d9153d7..0785285 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/simple.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/simple.css
@@ -1,5 +1,42 @@
-@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');
+}
+
+
/**
* A simple theme for reveal.js presentations, similar
* to the default theme. The accent color is darkblue.
diff --git a/inst/rmarkdown/templates/revealjs_presentation/css/theme/sky.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/sky.css
index f7e8402..d740d21 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/sky.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/sky.css
@@ -1,5 +1,40 @@
-@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');
+}
+
/**
* Sky theme for reveal.js.
*
diff --git a/inst/rmarkdown/templates/revealjs_presentation/css/theme/solarized.css b/inst/rmarkdown/templates/revealjs_presentation/css/theme/solarized.css
index 583201a..96cc983 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/css/theme/solarized.css
+++ b/inst/rmarkdown/templates/revealjs_presentation/css/theme/solarized.css
@@ -1,9 +1,39 @@
-@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 Light theme for reveal.js.
* Author: Achim Staebler
*/
+@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
*/