RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2093975 - Default monospace font should be Source Code Pro
Summary: Default monospace font should be Source Code Pro
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gsettings-desktop-schemas
Version: 9.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Carlos Garnacho
QA Contact: Jiri Prajzner
URL:
Whiteboard:
Depends On: 2094195
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-06 13:30 UTC by Michael Catanzaro
Modified: 2023-05-09 10:32 UTC (History)
3 users (show)

Fixed In Version: gsettings-desktop-schemas-40.0-6.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 08:21:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-124362 0 None None None 2022-06-06 13:37:27 UTC
Red Hat Product Errata RHBA-2023:2524 0 None None None 2023-05-09 08:21:35 UTC

Description Michael Catanzaro 2022-06-06 13:30:43 UTC
Source Code Pro is available in RHEL 9 according to https://bugzilla.redhat.com/show_bug.cgi?id=2093244#c6, so it should be our default monospace font, to avoid diverging from upstream. We can simply drop the org.gnome.desktop.interface.rhel.gschema.override. Note this file exists upstream, so it should be removed in Fedora as well.

This change will break all systems which do not have Source Code Pro installed unless a different monospace font is manually configured. This is OK because gsettings-desktop-schemas has a Recommends: font(sourcecodepro). Tools that ignore Recommends do so at their peril. We should make sure that it gets installed properly when installing RHEL.

Comment 1 Tomas Popela 2022-06-06 13:42:30 UTC
Also we should make sure that whatever change is done, then it's propagated to Fedora so it gets through Fedora ELN into RHEL 10.

Comment 2 Michael Catanzaro 2022-06-06 13:48:31 UTC
It doesn't seem to be available in BaseOS or AppStream:

$ sudo dnf install adobe-source-code-pro-fonts
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - AppStre 6.6 MB/s | 7.8 MB     00:01    
Red Hat Enterprise Linux 9 for x86_64 - BaseOS  2.0 MB/s | 2.1 MB     00:01    
Last metadata expiration check: 0:00:01 ago on Mon 06 Jun 2022 08:46:08 AM CDT.
No match for argument: adobe-source-code-pro-fonts
Error: Unable to find a match: adobe-source-code-pro-fonts

Comment 3 Tomas Popela 2022-06-06 13:54:27 UTC
(In reply to Michael Catanzaro from comment #2)
> It doesn't seem to be available in BaseOS or AppStream:

Looking into it again, it's part of the BUILDROOT repository and it's maintained by Akira, maybe he's willing to move it into AppStream.

Comment 4 Tomas Popela 2022-07-25 11:30:34 UTC
The package was moved to AppStream, should we proceed with this change?

Comment 5 Michael Catanzaro 2022-07-25 12:53:50 UTC
I'll make this change in ELN now.

Not sure if changing this in RHEL 9 is worth it or not. It would break 9.0 -> 9.1 upgrades for anyone who doesn't already have the font installed unless we have some way to pull it in on upgrades.

Comment 6 Michael Catanzaro 2022-07-25 13:24:07 UTC
(In reply to Michael Catanzaro from comment #0)
> This change will break all systems which do not have Source Code Pro
> installed unless a different monospace font is manually configured. This is
> OK because gsettings-desktop-schemas has a Recommends: font(sourcecodepro).
> Tools that ignore Recommends do so at their peril.

OK, should be good then...

> We should make sure that
> it gets installed properly when installing RHEL.

...assuming anaconda respects the Recommends. But I don't know whether it actually does.

Comment 8 Carlos Garnacho 2022-11-23 00:12:04 UTC
Fixed in gsettings-desktop-schemas-40.0-5.el9.

Comment 10 Michael Catanzaro 2022-12-21 17:21:22 UTC
So this revealed a problem. Because Source Code Pro was in buildroot for 9.0, and only entered AppStream in 9.1, anyone who has RHEL 9.0 installed and upgrades that to 9.2 will not get Source Code Pro installed. The Recommends in the gsettings-desktop-schema spec file are not applied on upgrade.

Suggestion is to change the Recommends to Requires in RHEL 9.

Comment 11 Michael Catanzaro 2022-12-21 17:21:44 UTC
(In reply to Michael Catanzaro from comment #10)
> Suggestion is to change the Recommends to Requires in RHEL 9.

Tomas Popela plans to implement this change.

Comment 16 errata-xmlrpc 2023-05-09 08:21:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (gsettings-desktop-schemas bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2524


Note You need to log in before you can comment on or make changes to this bug.