From f094a86ae7fee2b79047157f3e322d8c619c5ce8 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Wed, 20 Nov 2013 12:47:32 -0800 Subject: [PATCH 1/2] Initial hack of proper Windows fonts --- static/editor.less | 2 +- static/jasmine.less | 2 +- static/variables/ui-variables.less | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/editor.less b/static/editor.less index c4b762ace..8edb0e551 100644 --- a/static/editor.less +++ b/static/editor.less @@ -8,7 +8,7 @@ -webkit-user-select: none; position: relative; z-index: 0; - font-family: Inconsolata, Monaco, Courier; + font-family: Inconsolata, Monaco, Consolas, Courier; line-height: 1.3; } diff --git a/static/jasmine.less b/static/jasmine.less index 5ebb8cf94..7c2084807 100644 --- a/static/jasmine.less +++ b/static/jasmine.less @@ -20,7 +20,7 @@ body { list-style: none; } -#HTMLReporter { font-size: 11px; font-family: Monaco, monospace; line-height: 1.6em; color: #333333; } +#HTMLReporter { font-size: 11px; font-family: Monaco, Consolas, monospace; line-height: 1.6em; color: #333333; } #HTMLReporter #jasmine_content { position: fixed; right: 100%; } #HTMLReporter .symbolHeader { diff --git a/static/variables/ui-variables.less b/static/variables/ui-variables.less index 34304de8c..05019667f 100644 --- a/static/variables/ui-variables.less +++ b/static/variables/ui-variables.less @@ -81,4 +81,4 @@ // Other -@font-family: 'Lucida Grande', Arial, sans-serif; +@font-family: 'Lucida Grande', 'Segoe UI', sans-serif; From 9f080be6e122cae5b926582cd605d496952ebde3 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Wed, 20 Nov 2013 13:21:30 -0800 Subject: [PATCH 2/2] Add Courier New as a last-chance fallback --- static/editor.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/editor.less b/static/editor.less index 8edb0e551..40e66a392 100644 --- a/static/editor.less +++ b/static/editor.less @@ -8,7 +8,7 @@ -webkit-user-select: none; position: relative; z-index: 0; - font-family: Inconsolata, Monaco, Consolas, Courier; + font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier; line-height: 1.3; }