Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
nodejs-electron
chromium-remove-bundled-roboto-font.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-remove-bundled-roboto-font.patch of Package nodejs-electron
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'); -}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor