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

Ligatures are gone in WezTerm after upgrading to JuliaMono 0.055 #209

Closed
piechologist opened this issue May 6, 2024 · 5 comments
Closed

Comments

@piechologist
Copy link

After running brew upgrade I got JuliaMono 0.055. Now, WezTerm prints the distinct ASCII characters |> and -> instead of the ligatures. Also, ss05 for the lighter asterisk and cv03 for the pronounced tilde don't work anymore. The Julia logos e801 and e802 are missing, too.

Everything still works fine in the Zed editor, though. Weird.

I tricked homebrew into installing JuliaMono 0.054 and the issue was resolved. Upgraded again to 0.055 and the issue came up again.

macOS 12.7.4 Monterey
WezTerm 20240203-110809-5046fc22

Let me know if you need more information and thanks in advance!

@piechologist
Copy link
Author

I guess this is related to #208.

@cormullion
Copy link
Owner

In your config, you’ll need “assume_emoji_presentation=false” because Wezterm won’t use JuliaMono (because it contains a colored glyph).

@piechologist
Copy link
Author

Thank you for the quick response!

I'm afraid the issue is caused by something else. I changed my config to:

    font = wezterm.font_with_fallback {
        {
            family = 'JuliaMono',
            assume_emoji_presentation = false,
            harfbuzz_features = { 'ss05', 'ss13', 'cv03' },
        },
        'Apple Color Emoji',
    },

and the issue persists. I'm sure WezTerm uses JuliaMono (I checked r and g and they do look like JuliaMono 😃).

When I switch to assume_emoji_presentation = true I get some other fallback font (definitely not JuliaMono 😱).

@cormullion
Copy link
Owner

Check that you’re not picking up JuliaMono-Latin by default. (delete it) Otherwise- it works for me 🤔

@piechologist
Copy link
Author

piechologist commented May 6, 2024

Check that you’re not picking up JuliaMono-Latin by default. (delete it)

That and assume_emoji_presentation=false did the trick! I don't even need assume_emoji_presentation.

Thank you for the help and for this great font!

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

2 participants