include specific font subsets from googleapi fonts - as the defaults seem to vary by browser type (less for mobile)

switch defailt from coda to roboto - looks fine to me, and coda didn't seem to support enough subsets
for #541
This commit is contained in:
Jon Atkins
2013-09-09 01:51:50 +01:00
parent 543e586723
commit 3f9af18ba5
2 changed files with 4 additions and 5 deletions

View File

@ -63,8 +63,7 @@ document.getElementsByTagName('head')[0].innerHTML = ''
+ '<style>@@INCLUDESTRING:style.css@@</style>'
+ '<style>@@INCLUDESTRING:external/leaflet.css@@</style>'
//note: smartphone.css injection moved into code/smartphone.js
+ '<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Coda"/>'
+ '<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Roboto"/>';
+ '<link href="http://fonts.googleapis.com/css?family=Roboto:normal,bold&subset=latin,cyrillic-ext,greek-ext,greek,cyrillic,latin-ext,vietnamese" rel="stylesheet" type="text/css">';
document.getElementsByTagName('body')[0].innerHTML = ''
+ '<div id="map">Loading, please wait</div>'