forked from pool/nodejs-electron
* Node 20.16.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=169
54 lines
1.8 KiB
Diff
54 lines
1.8 KiB
Diff
This font is already available in opensuse and can be installed systemwide
|
|
|
|
--- a/ui/webui/resources/BUILD.gn 2022-06-15 15:58:23.822426713 +0200
|
|
+++ b/ui/webui/resources/BUILD.gn 2022-06-21 15:51:23.647223308 +0200
|
|
@@ -36,18 +36,6 @@
|
|
input_files = [ "test_loader.html" ]
|
|
input_files_base_dir = rebase_path(".", "//")
|
|
|
|
- if (is_linux) {
|
|
- # Only need to include on Linux.
|
|
- # - Android: Roboto-Regular and Roboto-Light is already available on
|
|
- # Android, and Roboto-Medium is not used on Android.
|
|
- # - CrOS: All 6 weights of Roboto are available on Chrome OS.
|
|
- # - Win/Mac: Use system UI fonts for WebUI surfaces and don't need Roboto.
|
|
- input_files += [
|
|
- "roboto/roboto-bold.woff2",
|
|
- "roboto/roboto-medium.woff2",
|
|
- "roboto/roboto-regular.woff2",
|
|
- ]
|
|
- }
|
|
|
|
public_deps = [
|
|
"cr_components/commerce:build_grdp",
|
|
'roboto.css' -> 'roboto.css.new'
|
|
--- a/ui/webui/resources/css/roboto.css 2022-06-15 15:58:23.846426661 +0200
|
|
+++ b/ui/webui/resources/css/roboto.css 2022-06-21 15:53:08.931243442 +0200
|
|
@@ -2,26 +2,3 @@
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file. */
|
|
|
|
-@font-face {
|
|
- font-family: 'Roboto';
|
|
- font-style: normal;
|
|
- font-weight: 400;
|
|
- src: local('Roboto'), local('Roboto-Regular'),
|
|
- url(//resources/roboto/roboto-regular.woff2) format('woff2');
|
|
-}
|
|
-
|
|
-@font-face {
|
|
- font-family: 'Roboto';
|
|
- font-style: normal;
|
|
- font-weight: 500;
|
|
- src: local('Roboto Medium'), local('Roboto-Medium'),
|
|
- url(//resources/roboto/roboto-medium.woff2) format('woff2');
|
|
-}
|
|
-
|
|
-@font-face {
|
|
- font-family: 'Roboto';
|
|
- font-style: normal;
|
|
- font-weight: 700;
|
|
- src: local('Roboto Bold'), local('Roboto-Bold'),
|
|
- url(//resources/roboto/roboto-bold.woff2) format('woff2');
|
|
-}
|