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

Include fontconfig .conf in Symbols Only release #1713

Closed
3 tasks done
pallaswept opened this issue Sep 16, 2024 · 2 comments
Closed
3 tasks done

Include fontconfig .conf in Symbols Only release #1713

pallaswept opened this issue Sep 16, 2024 · 2 comments

Comments

@pallaswept
Copy link

Requirements

  • I have searched the issues for my request and found nothing related or helpful
  • I have checked the FAQ for help
  • I have reviewed the Wiki for relevant information

Problem Description

The release package for the Symbols Only Nerd Font contains readme and license, and the fixed and propo TTFs.

A very useful file in the repository here to go along with those files, is https://github.com/ryanoasis/nerd-fonts/blob/-/10-nerd-font-symbols.conf

I thought it might be nice to put that file in the release along with the TTFs. This would have the benefit of allowing packagers to ensure that the fallback works on their distro, and allowing users to more easily select between the two font variants.

Desired Solution

Package https://github.com/ryanoasis/nerd-fonts/blob/-/10-nerd-font-symbols.conf with Symbols-Only release

Alternatives Considered

Download it myself

Additional Context

Installing my distro (Tumbleweed) package of the symbols-only Nerd Font, installs both TTFs, without any configuration, as per the release. The distro default config is good, and fallback immediately works. However, fontconfig prefers the monospaced variant unless directed otherwise, such as by the abovementioned config file. It's nice to have the full experience, out of the box. For now, I get there with:

cd /etc/fonts/conf.d/
sudo wget https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/10-nerd-font-symbols.conf
sudo restorecon -rvF 10-nerd-font-symbols.conf (selinux requirement)
fc-cache -rv

So this is not too hard to deal with, but it would be nice if it "just works" :)

Thanks for an excellent font!

@Finii
Copy link
Collaborator

Finii commented Oct 8, 2024

Of course the third-party package maintainer would need to install the font conf into the appropriate directory.
But at least it is now in the release packages (of NerdFontsSymbolsOnly).

@pallaswept
Copy link
Author

Thank you!

@Finii Finii added this to the v3.3.0 milestone Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants