Sophie

Sophie

distrib > Mageia > 9 > aarch64 > media > tainted-updates-src > by-pkgid > 4eb324a2a4460275fcf246e252c1f08b > files > 41

chromium-browser-stable-125.0.6422.76-1.mga9.tainted.src.rpm

This font is already available in opensuse and can be installed systemwide

--- patch30/ui/webui/resources/BUILD.gn	2024-05-20 11:47:23.000000000 +0200
+++ patch30/ui/webui/resources/BUILD.gn.roboto	2024-05-20 13:52:03.459575382 +0200
@@ -14,19 +14,6 @@ generate_grd("build_grd") {
   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",
     "cr_elements:build_grdp",
--- 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');
-}