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

Specify multiple font-family to define preferred fallback fonts #1196

Closed
5ouma opened this issue Jan 2, 2024 · 3 comments · Fixed by #1204
Closed

Specify multiple font-family to define preferred fallback fonts #1196

5ouma opened this issue Jan 2, 2024 · 3 comments · Fixed by #1204

Comments

@5ouma
Copy link
Member

5ouma commented Jan 2, 2024

Is it possible to set multiple fonts in font-family?

It should be a Repeatable config, similar to font-features.
An example of the config.

font-family = "Fira Code Retina"
font-family = "HackGen35-Regular"
@mitchellh
Copy link
Contributor

No it’s not possible today. What is the desired behavior? Is this to configure preferred fallbacks?

@5ouma
Copy link
Member Author

5ouma commented Jan 3, 2024

Yes, I want to specify multiple fonts for English, Japanese, Nerd Fonts, and Emoji.
The same as VS Code can set multiple fonts like this.

"editor.fontFamily": "'Fira Code Retina', 'HackGen35-Regular'"

@mitchellh mitchellh changed the title Multiple Fonts Specify multiple font-family to define preferred fallback fonts Jan 3, 2024
@mitchellh
Copy link
Contributor

Got it! This should now be possible as you described. 😄

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 a pull request may close this issue.

2 participants