Bug 269702 - x11/gnome: default monospace font for Gnome is not installed
Summary: x11/gnome: default monospace font for Gnome is not installed
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-20 04:08 UTC by Paul Dufresne
Modified: 2024-06-15 18:22 UTC (History)
4 users (show)

See Also:
fernape: maintainer-feedback? (gnome)


Attachments
default font (show wide chars in terminal) (153.64 KB, image/png)
2023-02-20 04:34 UTC, Paul Dufresne
no flags Details
with monospcace size 10 font (155.49 KB, image/png)
2023-02-20 04:35 UTC, Paul Dufresne
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Dufresne 2023-02-20 04:08:36 UTC
The text in gnome-terminal appeared very wide.

With gnome-tweaks, I discovered that the font for monospace was: none.

Changing it to: monospace, make gnome-terminal much more normal.

I wish monospace would be the default font for new users... rather than no font.
Comment 1 Paul Dufresne 2023-02-20 04:30:16 UTC
In dconf-editor, I see that the default of:
Schema: org.gnome.desktop.interface
monospace-default-name default to: 'Source Code Pro 10'

But this font does not seems to be installed (does not appears in choice of gnome-tweaks).
Comment 2 Paul Dufresne 2023-02-20 04:34:47 UTC
Created attachment 240270 [details]
default font (show wide chars in terminal)
Comment 3 Paul Dufresne 2023-02-20 04:35:23 UTC
Created attachment 240271 [details]
with monospcace size 10 font
Comment 4 Paul Dufresne 2023-02-23 23:39:11 UTC
Apparently this is the default Gnome value:
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/issues/26

But what I see there, is the package that seems to control that (assigned):
https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
Comment 5 Paul Telles (Starcat) 2024-06-15 18:22:28 UTC
IMHO, this is a terrible bug as it turns a lot of people off and leaves them with a bad impression of FreeBSD that is unwarranted.

My suggested workaround:

1.) Install Google TrueType fonts -- x11-fonts/google-fonts
2.) As an unprivileged desktop user, set the default monospace font:

$ dbus-run-session gsettings set org.gnome.desktop.interface monospace-font-name 'Noto Sans Mono 10'

3.) Verify the change with fc-match and/or gsettings:

$ fc-match monospace
NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
$ dbus-run-session gsettings list-recursively org.gnome.desktop.interface | grep monospace-font-name
org.gnome.desktop.interface monospace-font-name 'Noto Sans Mono 10'

NOTE: The dconf-editor GUI tool can also be used to view and edit GSettings values.