summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-06-21 22:35:30 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-06-22 11:23:44 +0200
commitd14c0f2ed7ab02fb470941752d0a027631a6a19a (patch)
tree8d4e1579518244244dd12ffa4c55c09fd774e2fe /core
parent9d121985dc2980ca9c3b4a69d807926d2424757d (diff)
downloadnextcloud-server-d14c0f2ed7ab02fb470941752d0a027631a6a19a.tar.gz
nextcloud-server-d14c0f2ed7ab02fb470941752d0a027631a6a19a.zip
Move font from Nunito to Noto Sans
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core')
-rw-r--r--core/css/fonts.scss163
-rw-r--r--core/css/guest.css169
-rw-r--r--core/css/tooltip.scss2
-rw-r--r--core/css/variables.scss2
-rw-r--r--core/fonts/LICENSE_OFL.txt (renamed from core/fonts/OFL.txt)51
-rw-r--r--core/fonts/NotoSans-Bold-cyrillic-ext.woff2bin0 -> 21704 bytes
-rw-r--r--core/fonts/NotoSans-Bold-cyrillic.woff2bin0 -> 10812 bytes
-rw-r--r--core/fonts/NotoSans-Bold-devanagari.woff2bin0 -> 30624 bytes
-rw-r--r--core/fonts/NotoSans-Bold-greek-ext.woff2bin0 -> 8636 bytes
-rw-r--r--core/fonts/NotoSans-Bold-greek.woff2bin0 -> 13156 bytes
-rw-r--r--core/fonts/NotoSans-Bold-latin-ext.woff2bin0 -> 32876 bytes
-rw-r--r--core/fonts/NotoSans-Bold-latin.woff2bin0 -> 16180 bytes
-rw-r--r--core/fonts/NotoSans-Bold-vietnamese.woff2bin0 -> 7512 bytes
-rw-r--r--core/fonts/NotoSans-Bold.ttfbin0 -> 455164 bytes
-rw-r--r--core/fonts/NotoSans-Regular-cyrillic-ext.woff2bin0 -> 21748 bytes
-rw-r--r--core/fonts/NotoSans-Regular-cyrillic.woff2bin0 -> 10504 bytes
-rw-r--r--core/fonts/NotoSans-Regular-devanagari.woff2bin0 -> 32656 bytes
-rw-r--r--core/fonts/NotoSans-Regular-greek-ext.woff2bin0 -> 8508 bytes
-rw-r--r--core/fonts/NotoSans-Regular-greek.woff2bin0 -> 12896 bytes
-rw-r--r--core/fonts/NotoSans-Regular-latin-ext.woff2bin0 -> 32524 bytes
-rw-r--r--core/fonts/NotoSans-Regular-latin.woff2bin0 -> 16056 bytes
-rw-r--r--core/fonts/NotoSans-Regular-vietnamese.woff2bin0 -> 7544 bytes
-rw-r--r--core/fonts/NotoSans-Regular.ttfbin0 -> 455188 bytes
-rw-r--r--core/fonts/Nunito-Bold-latin-ext.woff2bin18912 -> 0 bytes
-rw-r--r--core/fonts/Nunito-Bold.ttfbin115852 -> 0 bytes
-rw-r--r--core/fonts/Nunito-Bold.woff2bin19748 -> 0 bytes
-rw-r--r--core/fonts/Nunito-Regular-latin-ext.woff2bin18504 -> 0 bytes
-rw-r--r--core/fonts/Nunito-Regular.ttfbin113832 -> 0 bytes
-rw-r--r--core/fonts/Nunito-Regular.woff2bin19600 -> 0 bytes
-rw-r--r--core/js/tests/specs/setupchecksSpec.js4
30 files changed, 297 insertions, 94 deletions
diff --git a/core/css/fonts.scss b/core/css/fonts.scss
index 1e0b14af22f..195a2beb4aa 100644
--- a/core/css/fonts.scss
+++ b/core/css/fonts.scss
@@ -1,43 +1,144 @@
+/* cyrillic-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-cyrillic-ext.woff2') format('woff2');
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
+}
+/* cyrillic */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-cyrillic.woff2') format('woff2');
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
+}
+/* devanagari */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-devanagari.woff2') format('woff2');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
+}
+/* greek-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-greek-ext.woff2') format('woff2');
+ unicode-range: U+1F00-1FFF;
+}
+/* greek */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-greek.woff2') format('woff2');
+ unicode-range: U+0370-03FF;
+}
+/* vietnamese */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-vietnamese.woff2') format('woff2');
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
+}
/* latin-ext */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 400; /* normal */
- src: local('Nunito Regular'), local('Nunito-Regular'),
- url('../fonts/Nunito-Regular-latin-ext.woff2') format('woff2'),
- url('../fonts/Nunito-Regular.ttf') format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-latin-ext.woff2') format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
-
/* latin */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 400; /* normal */
- src: local('Nunito Regular'), local('Nunito-Regular'),
- url('../fonts/Nunito-Regular.woff2') format('woff2'),
- url('../fonts/Nunito-Regular.ttf') format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-latin.woff2') format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+}
+/* cyrillic-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-cyrillic-ext.woff2') format('woff2');
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
+}
+/* cyrillic */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-cyrillic.woff2') format('woff2');
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
+}
+/* devanagari */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-devanagari.woff2') format('woff2');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
+}
+/* greek-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-greek-ext.woff2') format('woff2');
+ unicode-range: U+1F00-1FFF;
+}
+/* greek */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-greek.woff2') format('woff2');
+ unicode-range: U+0370-03FF;
+}
+/* vietnamese */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-vietnamese.woff2') format('woff2');
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
-
/* latin-ext */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 700; /* bold */
- src: local('Nunito Bold'), local('Nunito-Bold'),
- url('../fonts/Nunito-Bold-latin-ext.woff2') format('woff2'),
- url('../fonts/Nunito-Bold.ttf') format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-latin-ext.woff2') format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
-
/* latin */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 700; /* bold */
- src: local('Nunito Bold'), local('Nunito-Bold'),
- url('../fonts/Nunito-Bold.woff2') format('woff2'),
- url('../fonts/Nunito-Bold.ttf') format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-latin.woff2') format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
diff --git a/core/css/guest.css b/core/css/guest.css
index 57fe966d26f..3b0d1efa4d9 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -19,7 +19,7 @@ body {
font-weight: normal;
font-size: .8em;
line-height: 1.6em;
- font-family: 'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
+ font-family: 'Noto Sans', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
color: #000;
text-align: center;
background-color: #0082c9;
@@ -183,7 +183,7 @@ form #datadirField legend {
input, textarea, select, button, div[contenteditable=true] {
- font-family: 'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
+ font-family: 'Noto Sans', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
}
input,
input:not([type='range']),
@@ -850,46 +850,149 @@ a.legal {
}
+/* fonts.scss ---------------------------------------------------- */
+
+/* cyrillic-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-cyrillic-ext.woff2') format('woff2');
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
+}
+/* cyrillic */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-cyrillic.woff2') format('woff2');
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
+}
+/* devanagari */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-devanagari.woff2') format('woff2');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
+}
+/* greek-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-greek-ext.woff2') format('woff2');
+ unicode-range: U+1F00-1FFF;
+}
+/* greek */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-greek.woff2') format('woff2');
+ unicode-range: U+0370-03FF;
+}
+/* vietnamese */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-vietnamese.woff2') format('woff2');
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
+}
/* latin-ext */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 400; /* normal */
- src: local('Nunito Regular'), local('Nunito-Regular'),
- url('../fonts/Nunito-Regular-latin-ext.woff2') format('woff2'),
- url('../fonts/Nunito-Regular.ttf') format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-latin-ext.woff2') format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
-
/* latin */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 400; /* normal */
- src: local('Nunito Regular'), local('Nunito-Regular'),
- url('../fonts/Nunito-Regular.woff2') format('woff2'),
- url('../fonts/Nunito-Regular.ttf') format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: local('Noto Sans'), local('NotoSans'), url('../fonts/NotoSans-Regular-latin.woff2') format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+}
+/* cyrillic-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-cyrillic-ext.woff2') format('woff2');
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
+}
+/* cyrillic */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-cyrillic.woff2') format('woff2');
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
+}
+/* devanagari */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-devanagari.woff2') format('woff2');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
+}
+/* greek-ext */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-greek-ext.woff2') format('woff2');
+ unicode-range: U+1F00-1FFF;
+}
+/* greek */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-greek.woff2') format('woff2');
+ unicode-range: U+0370-03FF;
+}
+/* vietnamese */
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-vietnamese.woff2') format('woff2');
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
-
/* latin-ext */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 700; /* bold */
- src: local('Nunito Bold'), local('Nunito-Bold'),
- url('../fonts/Nunito-Bold-latin-ext.woff2') format('woff2'),
- url('../fonts/Nunito-Bold.ttf') format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-latin-ext.woff2') format('woff2');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
-
/* latin */
@font-face {
- font-family: 'Nunito';
- font-style: normal;
- font-weight: 700; /* bold */
- src: local('Nunito Bold'), local('Nunito-Bold'),
- url('../fonts/Nunito-Bold.woff2') format('woff2'),
- url('../fonts/Nunito-Bold.ttf') format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: 700;
+ font-display: swap;
+ src: local('Noto Sans Bold'), local('NotoSans-Bold'), url('../fonts/NotoSans-Bold-latin.woff2') format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
diff --git a/core/css/tooltip.scss b/core/css/tooltip.scss
index ca08e5808c4..329d3d75bcf 100644
--- a/core/css/tooltip.scss
+++ b/core/css/tooltip.scss
@@ -13,7 +13,7 @@
.tooltip {
position: absolute;
display: block;
- font-family: 'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
+ font-family: 'Noto Sans', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
font-style: normal;
font-weight: normal;
letter-spacing: normal;
diff --git a/core/css/variables.scss b/core/css/variables.scss
index 960371c2536..8811e60cc67 100644
--- a/core/css/variables.scss
+++ b/core/css/variables.scss
@@ -79,7 +79,7 @@ $border-radius-large: 10px !default;
// Pill-style button, value is large so big buttons also have correct roundness
$border-radius-pill: 100px !default;
-$font-face: 'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !default;
+$font-face: 'Noto Sans', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !default;
$animation-quick: 100ms;
$animation-slow: 300ms;
diff --git a/core/fonts/OFL.txt b/core/fonts/LICENSE_OFL.txt
index 601d961cd90..d952d62c065 100644
--- a/core/fonts/OFL.txt
+++ b/core/fonts/LICENSE_OFL.txt
@@ -1,29 +1,28 @@
-Copyright 2014 The Nunito Project Authors (contact@sansoxygen.com)
+This Font Software is licensed under the SIL Open Font License,
+Version 1.1.
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
+development of collaborative font projects, to support the font
+creation efforts of academic and linguistic communities, and to
+provide a free and open framework in which fonts may be shared and
+improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded,
+fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
+requirement for fonts to remain under this license does not apply to
+any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
@@ -33,25 +32,25 @@ include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
+"Original Version" refers to the collection of Font Software
+components as distributed by the Copyright Holder(s).
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
+"Modified Version" refers to any derivative made by adding to,
+deleting, or substituting -- in part or in whole -- any of the
+components of the Original Version, by changing formats or by porting
+the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
+a copy of the Font Software, to use, study, copy, merge, embed,
+modify, redistribute, and sell modified and unmodified copies of the
+Font Software, subject to the following conditions:
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
+1) Neither the Font Software nor any of its individual components, in
+Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
@@ -61,9 +60,9 @@ in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
+Name(s) unless explicit written permission is granted by the
+corresponding Copyright Holder. This restriction only applies to the
+primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
@@ -74,8 +73,8 @@ permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
+remain under this license does not apply to any document created using
+the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
diff --git a/core/fonts/NotoSans-Bold-cyrillic-ext.woff2 b/core/fonts/NotoSans-Bold-cyrillic-ext.woff2
new file mode 100644
index 00000000000..d3a6ecb475a
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-cyrillic-ext.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold-cyrillic.woff2 b/core/fonts/NotoSans-Bold-cyrillic.woff2
new file mode 100644
index 00000000000..937e522c7e8
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-cyrillic.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold-devanagari.woff2 b/core/fonts/NotoSans-Bold-devanagari.woff2
new file mode 100644
index 00000000000..905be683724
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-devanagari.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold-greek-ext.woff2 b/core/fonts/NotoSans-Bold-greek-ext.woff2
new file mode 100644
index 00000000000..01db534189d
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-greek-ext.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold-greek.woff2 b/core/fonts/NotoSans-Bold-greek.woff2
new file mode 100644
index 00000000000..627e7f1ef8b
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-greek.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold-latin-ext.woff2 b/core/fonts/NotoSans-Bold-latin-ext.woff2
new file mode 100644
index 00000000000..8b580a51948
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-latin-ext.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold-latin.woff2 b/core/fonts/NotoSans-Bold-latin.woff2
new file mode 100644
index 00000000000..1f16cc33d53
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-latin.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold-vietnamese.woff2 b/core/fonts/NotoSans-Bold-vietnamese.woff2
new file mode 100644
index 00000000000..d57f6d39e11
--- /dev/null
+++ b/core/fonts/NotoSans-Bold-vietnamese.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Bold.ttf b/core/fonts/NotoSans-Bold.ttf
new file mode 100644
index 00000000000..ab11d316397
--- /dev/null
+++ b/core/fonts/NotoSans-Bold.ttf
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-cyrillic-ext.woff2 b/core/fonts/NotoSans-Regular-cyrillic-ext.woff2
new file mode 100644
index 00000000000..ec414480000
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-cyrillic-ext.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-cyrillic.woff2 b/core/fonts/NotoSans-Regular-cyrillic.woff2
new file mode 100644
index 00000000000..882cbba0988
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-cyrillic.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-devanagari.woff2 b/core/fonts/NotoSans-Regular-devanagari.woff2
new file mode 100644
index 00000000000..f76bdc4de1d
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-devanagari.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-greek-ext.woff2 b/core/fonts/NotoSans-Regular-greek-ext.woff2
new file mode 100644
index 00000000000..70c40413a3a
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-greek-ext.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-greek.woff2 b/core/fonts/NotoSans-Regular-greek.woff2
new file mode 100644
index 00000000000..d95083535a5
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-greek.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-latin-ext.woff2 b/core/fonts/NotoSans-Regular-latin-ext.woff2
new file mode 100644
index 00000000000..62becf88cb9
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-latin-ext.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-latin.woff2 b/core/fonts/NotoSans-Regular-latin.woff2
new file mode 100644
index 00000000000..cf2b74a64dd
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-latin.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular-vietnamese.woff2 b/core/fonts/NotoSans-Regular-vietnamese.woff2
new file mode 100644
index 00000000000..6d331d80b2d
--- /dev/null
+++ b/core/fonts/NotoSans-Regular-vietnamese.woff2
Binary files differ
diff --git a/core/fonts/NotoSans-Regular.ttf b/core/fonts/NotoSans-Regular.ttf
new file mode 100644
index 00000000000..a1b8994edea
--- /dev/null
+++ b/core/fonts/NotoSans-Regular.ttf
Binary files differ
diff --git a/core/fonts/Nunito-Bold-latin-ext.woff2 b/core/fonts/Nunito-Bold-latin-ext.woff2
deleted file mode 100644
index d69ce0d32e9..00000000000
--- a/core/fonts/Nunito-Bold-latin-ext.woff2
+++ /dev/null
Binary files differ
diff --git a/core/fonts/Nunito-Bold.ttf b/core/fonts/Nunito-Bold.ttf
deleted file mode 100644
index d2037334825..00000000000
--- a/core/fonts/Nunito-Bold.ttf
+++ /dev/null
Binary files differ
diff --git a/core/fonts/Nunito-Bold.woff2 b/core/fonts/Nunito-Bold.woff2
deleted file mode 100644
index fef6db672d6..00000000000
--- a/core/fonts/Nunito-Bold.woff2
+++ /dev/null
Binary files differ
diff --git a/core/fonts/Nunito-Regular-latin-ext.woff2 b/core/fonts/Nunito-Regular-latin-ext.woff2
deleted file mode 100644
index 8c7dd0f9898..00000000000
--- a/core/fonts/Nunito-Regular-latin-ext.woff2
+++ /dev/null
Binary files differ
diff --git a/core/fonts/Nunito-Regular.ttf b/core/fonts/Nunito-Regular.ttf
deleted file mode 100644
index 93a3f3e78ea..00000000000
--- a/core/fonts/Nunito-Regular.ttf
+++ /dev/null
Binary files differ
diff --git a/core/fonts/Nunito-Regular.woff2 b/core/fonts/Nunito-Regular.woff2
deleted file mode 100644
index 28b65a12e67..00000000000
--- a/core/fonts/Nunito-Regular.woff2
+++ /dev/null
Binary files differ
diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js
index b5248add984..2f28dcdaef7 100644
--- a/core/js/tests/specs/setupchecksSpec.js
+++ b/core/js/tests/specs/setupchecksSpec.js
@@ -145,7 +145,7 @@ describe('OC.SetupChecks tests', function() {
describe('checkWOFF2Loading', function() {
it('should fail with another response status code than the expected one', function(done) {
- var async = OC.SetupChecks.checkWOFF2Loading(OC.filePath('core', '', 'fonts/Nunito-Regular.woff2'), 'http://example.org/PLACEHOLDER');
+ var async = OC.SetupChecks.checkWOFF2Loading(OC.filePath('core', '', 'fonts/NotoSans-Regular-latin.woff2'), 'http://example.org/PLACEHOLDER');
suite.server.requests[0].respond(302);
@@ -159,7 +159,7 @@ describe('OC.SetupChecks tests', function() {
});
it('should return no error with the expected response status code', function(done) {
- var async = OC.SetupChecks.checkWOFF2Loading(OC.filePath('core', '', 'fonts/Nunito-Regular.woff2'), 'http://example.org/PLACEHOLDER');
+ var async = OC.SetupChecks.checkWOFF2Loading(OC.filePath('core', '', 'fonts/NotoSans-Regular-latin.woff2'), 'http://example.org/PLACEHOLDER');
suite.server.requests[0].respond(200);