Update Roboto to Roboto-Regular
For consistency with gerrit build process Change-Id: I2e06175b3499f855c98e8138eb9e07543cde0016
This commit is contained in:
@@ -41,8 +41,8 @@
|
||||
// @see https://github.com/w3c/preload/issues/32 regarding crossorigin
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/RobotoMono-Regular.woff2" as="font" type="font/woff2" crossorigin>{\n}
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/RobotoMono-Regular.woff" as="font" type="font/woff" crossorigin>{\n}
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/Roboto.woff2" as="font" type="font/woff2" crossorigin>{\n}
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/Roboto.woff" as="font" type="font/woff" crossorigin>{\n}
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/Roboto-Regular.woff2" as="font" type="font/woff2" crossorigin>{\n}
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/Roboto-Regular.woff" as="font" type="font/woff" crossorigin>{\n}
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/Roboto-Medium.woff2" as="font" type="font/woff2" crossorigin>{\n}
|
||||
<link rel="preload" href="{$staticResourcePath}/fonts/Roboto-Medium.woff" as="font" type="font/woff" crossorigin>{\n}
|
||||
<link rel="stylesheet" href="{$staticResourcePath}/styles/fonts.css">{\n}
|
||||
|
@@ -5,10 +5,10 @@ load("//tools/bzl:genrule2.bzl", "genrule2")
|
||||
filegroup(
|
||||
name = "robotofonts",
|
||||
srcs = [
|
||||
"Roboto.woff",
|
||||
"Roboto.woff2",
|
||||
"Roboto-Medium.woff",
|
||||
"Roboto-Medium.woff2",
|
||||
"Roboto-Regular.woff",
|
||||
"Roboto-Regular.woff2",
|
||||
"RobotoMono-Regular.woff",
|
||||
"RobotoMono-Regular.woff2",
|
||||
],
|
||||
|
@@ -26,8 +26,8 @@ RobotoMono fonts are used in styles/fonts.css
|
||||
-->
|
||||
<link rel="preload" href="/fonts/RobotoMono-Regular.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/fonts/RobotoMono-Regular.woff" as="font" type="font/woff" crossorigin>
|
||||
<link rel="preload" href="/fonts/Roboto.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/fonts/Roboto.woff" as="font" type="font/woff" crossorigin>
|
||||
<link rel="preload" href="/fonts/Roboto-Regular.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/fonts/Roboto-Regular.woff" as="font" type="font/woff" crossorigin>
|
||||
<link rel="preload" href="/fonts/Roboto-Medium.woff2" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="/fonts/Roboto-Medium.woff" as="font" type="font/woff" crossorigin>
|
||||
<link rel="stylesheet" href="/styles/fonts.css">
|
||||
|
@@ -17,4 +17,46 @@
|
||||
url('../fonts/RobotoMono-Regular.woff2') format('woff2'),
|
||||
url('../fonts/RobotoMono-Regular.woff') format('woff');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
||||
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Roboto'), local('Roboto-Regular'),
|
||||
url('../fonts/Roboto-Regular.woff2') format('woff2'),
|
||||
url('../fonts/Roboto-Regular.woff') format('woff');
|
||||
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Roboto'), local('RobotoMono-Regular'),
|
||||
url('../fonts/Roboto-Regular.woff2') format('woff2'),
|
||||
url('../fonts/Roboto-Regular.woff') format('woff');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
||||
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Roboto Medium';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Roboto Medium'), local('Roboto-Medium'),
|
||||
url('../fonts/Roboto-Medium.woff2') format('woff2'),
|
||||
url('../fonts/Roboto-Medium.woff') format('woff');
|
||||
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Roboto Medium';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Roboto Medium'), local('Roboto-Medium'),
|
||||
url('../fonts/Roboto-Medium.woff2') format('woff2'),
|
||||
url('../fonts/Roboto-Medium.woff') format('woff');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
|
||||
}
|
Reference in New Issue
Block a user