Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set fonts in gnome module. #116

Merged
merged 1 commit into from
Jul 2, 2023
Merged

Set fonts in gnome module. #116

merged 1 commit into from
Jul 2, 2023

Conversation

lugeha
Copy link
Contributor

@lugeha lugeha commented Jul 1, 2023

Some GTK applications (i.e. emacs-pgtk) will use the gnome interface settings in dconf to choose fonts.

Best set these in case something else does and you have to spend far too long figuring out why your emacs is using the wrong fonts.

# Some GTK apps will use these font settings if they exist.
# i.e emacs-pgtk.
font-name = "${sansSerif.name} ${toString sizes.applications}";
document-font-name = "${serif.name} ${toString (sizes.applications - 1)}";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this 1 less than the chosen size?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's what GNOME does.

@danth danth linked an issue Jul 1, 2023 that may be closed by this pull request
@danth danth merged commit 35cab8e into danth:master Jul 2, 2023
@lugeha lugeha deleted the gnome_fonts branch June 16, 2024 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gnome module doesn't set fonts
2 participants