Skip to content

Conversation

@mitchellh
Copy link
Contributor

@mitchellh mitchellh commented Jan 3, 2024

Fixes #1196
Fixes #886

The font-family set of configurations are now repeatable. Repeating the value specifies a font fallback in case a font is not found.

This is a breaking change, since font-family would previously overwrite the previous value so it was a way to change the font. This is no longer possible. To facilitate this use case, I've added a special sentinel value that can be used with any RepeatableString type: if the value is empty ("") then the list will be reset.

@mitchellh mitchellh changed the title Font fallback Ability to set preferred fallback fonts Jan 3, 2024
@mitchellh mitchellh merged commit 398d186 into main Jan 3, 2024
@mitchellh mitchellh deleted the font-fallback branch January 3, 2024 17:38
@ilyagr
Copy link

ilyagr commented Jan 4, 2025

Is there a way to specify Ghostty's default font-face as the first face, and then to set fallbacks from it (e.g. I wanted to try "Symbols Nerd Font Mono" and see how it affects #886 (comment))?

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.

Specify multiple font-family to define preferred fallback fonts Fallback font resolution behavior is different from (most?) other macOS apps

3 participants