1 |
This font is already available in opensuse and can be installed systemwide |
2 |
|
3 |
--- patch30/ui/webui/resources/BUILD.gn 2024-05-20 11:47:23.000000000 +0200 |
4 |
+++ patch30/ui/webui/resources/BUILD.gn.roboto 2024-05-20 13:52:03.459575382 +0200 |
5 |
@@ -14,19 +14,6 @@ generate_grd("build_grd") { |
6 |
input_files = [ "test_loader.html" ] |
7 |
input_files_base_dir = rebase_path(".", "//") |
8 |
|
9 |
- if (is_linux) { |
10 |
- # Only need to include on Linux. |
11 |
- # - Android: Roboto-Regular and Roboto-Light is already available on |
12 |
- # Android, and Roboto-Medium is not used on Android. |
13 |
- # - CrOS: All 6 weights of Roboto are available on Chrome OS. |
14 |
- # - Win/Mac: Use system UI fonts for WebUI surfaces and don't need Roboto. |
15 |
- input_files += [ |
16 |
- "roboto/roboto-bold.woff2", |
17 |
- "roboto/roboto-medium.woff2", |
18 |
- "roboto/roboto-regular.woff2", |
19 |
- ] |
20 |
- } |
21 |
- |
22 |
public_deps = [ |
23 |
"cr_components/commerce:build_grdp", |
24 |
"cr_elements:build_grdp", |
25 |
--- a/ui/webui/resources/css/roboto.css 2022-06-15 15:58:23.846426661 +0200 |
26 |
+++ b/ui/webui/resources/css/roboto.css 2022-06-21 15:53:08.931243442 +0200 |
27 |
@@ -2,26 +2,3 @@ |
28 |
* Use of this source code is governed by a BSD-style license that can be |
29 |
* found in the LICENSE file. */ |
30 |
|
31 |
-@font-face { |
32 |
- font-family: 'Roboto'; |
33 |
- font-style: normal; |
34 |
- font-weight: 400; |
35 |
- src: local('Roboto'), local('Roboto-Regular'), |
36 |
- url(//resources/roboto/roboto-regular.woff2) format('woff2'); |
37 |
-} |
38 |
- |
39 |
-@font-face { |
40 |
- font-family: 'Roboto'; |
41 |
- font-style: normal; |
42 |
- font-weight: 500; |
43 |
- src: local('Roboto Medium'), local('Roboto-Medium'), |
44 |
- url(//resources/roboto/roboto-medium.woff2) format('woff2'); |
45 |
-} |
46 |
- |
47 |
-@font-face { |
48 |
- font-family: 'Roboto'; |
49 |
- font-style: normal; |
50 |
- font-weight: 700; |
51 |
- src: local('Roboto Bold'), local('Roboto-Bold'), |
52 |
- url(//resources/roboto/roboto-bold.woff2) format('woff2'); |
53 |
-} |