From 4ef45e34a70827de0a710052289aca6fbf3482d3 Mon Sep 17 00:00:00 2001
From: mrdrogdrog <tilman.vatteroth@udo.edu>
Date: Thu, 17 Sep 2015 15:44:26 +0200
Subject: [PATCH] Revert "Test mit DroidSansMono im Departure"

This reverts commit ecb23d896e52f528f3d4cc2350877c1ec89241ac.
---
 favicon.png                 | Bin
 index.html                  |   3 ---
 panels/departure/script.js  |   3 +--
 panels/departure/style.less |   3 ---
 panels/itworks/script.js    |   3 +++
 5 files changed, 4 insertions(+), 8 deletions(-)
 mode change 100755 => 100644 favicon.png
 create mode 100644 panels/itworks/script.js

diff --git a/favicon.png b/favicon.png
old mode 100755
new mode 100644
diff --git a/index.html b/index.html
index e72e8ab..1296b72 100755
--- a/index.html
+++ b/index.html
@@ -24,9 +24,6 @@
 				families	: ['time-medium', 'time-fat', 'vrr'],
 				urls		: ['css/font.css']
 			},
-			google : {
-				families	: ['Droid Sans Mono'],
-			},
 			active	: function() {
 				window.fontsReady = true;
 			}
diff --git a/panels/departure/script.js b/panels/departure/script.js
index 1a2ae43..75fd5f9 100755
--- a/panels/departure/script.js
+++ b/panels/departure/script.js
@@ -203,8 +203,7 @@ var resize = function(panel, config, cont) {
 var getStringWidth = function(fontSize, string) {
 	var 
 		o = $('<div>' + string + '</div>')
-		.css({'position': 'absolute', 'float': 'left', 'white-space': 'nowrap', 'visibility': 'hidden', 'font-family': 'Droid Sans Mono', 'fontSize': 
-fontSize + 'px'})
+		.css({'position': 'absolute', 'float': 'left', 'white-space': 'nowrap', 'visibility': 'hidden', 'font-family': 'display', 'fontSize': fontSize + 'px'})
 		.appendTo($('body')),
 		w = o.width();
 	o.remove();
diff --git a/panels/departure/style.less b/panels/departure/style.less
index a378e71..e94afcc 100755
--- a/panels/departure/style.less
+++ b/panels/departure/style.less
@@ -77,9 +77,6 @@
 					font-weight: bold;
 					color: #B8860B;
 				}
-				[data-delay], [data-time] {
-					font-family: Droid Sans Mono;
-				}
 
 				[data-name] {
 					position: relative;
diff --git a/panels/itworks/script.js b/panels/itworks/script.js
new file mode 100644
index 0000000..bb7a9e0
--- /dev/null
+++ b/panels/itworks/script.js
@@ -0,0 +1,3 @@
+/**
+ * Created by tilman on 26.08.15.
+ */
-- 
GitLab