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 a specific font style for a font family (e.g.: Bold, SemiBold, etc.) #181

Open
MarvinJWendt opened this issue Mar 21, 2025 · 2 comments

Comments

@MarvinJWendt
Copy link

Is your feature request related to a problem? Please describe.
I want to use JetBrains Mono Nerd Font SemiBold on macOS, but I can only use JetBrains Mono Nerd Font

Describe the solution you'd like
Maybe a --font.style flag, that we could use to set --font.style SemiBold

Describe alternatives you've considered
On linux I can actually use JetBrainsMono NF SemiBold, but somehow that doesnt work on macOS. Even tho I installed the same font files.

Additional context

tree -d 2 | freeze -l ANSI --font.family "JetBrainsMono Nerd Font"

Image

tree -d 2 | freeze -l ANSI --font.family "JetBrainsMono Nerd Font SemiBold"

Image
@MarvinJWendt MarvinJWendt changed the title Support a specific font style of a font family Set a specific font style for a font family (e.g.: Bold, SemiBold, etc.) Mar 21, 2025
@MarvinJWendt
Copy link
Author

This issue might be in the SVG renderer from chroma:

Image

Doesn't seem like the font weight and style are configurable.

@MarvinJWendt
Copy link
Author

MarvinJWendt commented Mar 21, 2025

Nevermind, chroma seems to support this:

Image

Could this be integrated into freeze?

I propose: --font.style and --font.weight

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

No branches or pull requests

1 participant