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

chore: cleanup fonts #2200

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

GarciaLnk
Copy link
Contributor

@GarciaLnk GarciaLnk commented Feb 10, 2025

This PR removes from the image all the fonts that can be installed with Embellish, while keeping those used in default configs (such as JetBrains Mono or Cascadia Code). It also installs Inter as an RPM.

I've been as aggressive as I can be removing fonts without affecting the default experience, I'm open to modifying the PR if one font is particularly popular.

Closes #2190
Works towards #2039

All these fonts can be installed by the user with embellish (included as a flatpak in the dx image)

I'm keeping opendyslexic for a11y, and cascadia, since it is set as the default font in our vscode config
it is used as the default monospace font
also available through embellish
@GarciaLnk GarciaLnk requested a review from castrojo as a code owner February 10, 2025 16:13
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. dx Developer Experience Image specific labels Feb 10, 2025
@castrojo
Copy link
Member

This just removes all the fonts? I thought we were moving the fonts to RPMs instead of individual files?

@GarciaLnk
Copy link
Contributor Author

I didn't see the point in having half a dozen additional fonts in DX when we are already shipping Embellish, but as I said, I'm open to restoring in this PR whatever fonts are most popular.

@castrojo
Copy link
Member

castrojo commented Feb 10, 2025

Yes we still want to ship the fonts, "A collection of well-curated monospace fonts" is one of the major features of DX, and the ubuntu font in particular is part of our identity.

By "clean up" we mean centralizing the fonts in the packages repo so that the font installation is consistent.

@GarciaLnk GarciaLnk marked this pull request as draft February 10, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer Experience Image specific size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup fonts
2 participants