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

Lower-case fallback font not found by wezterm #6465

Open
zhengpd opened this issue Dec 6, 2024 · 0 comments
Open

Lower-case fallback font not found by wezterm #6465

zhengpd opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zhengpd
Copy link

zhengpd commented Dec 6, 2024

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20241205-083533-6f375e29

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

When the font "JetBrains Mono" is written as "JetBrains mono" (the m is lower case), it's found if it's the first item for font_with_fallback, otherwise it would not be found.

  • This works: font_with_fallback({ "JetBrains mono", "Ubuntu Mono" })
  • And this works: font_with_fallback({ "Ubuntu Mono", "JetBrains Mono" })
  • But this do not work: font_with_fallback({ "Ubuntu Mono", "JetBrains mono" })

Ubuntu Mono & JetBrains Mono are both available on my system.

To Reproduce

No response

Configuration

font = wt.font_with_fallback({ "Ubuntu Mono", "JetBrains mono" })

Expected Behavior

No response

Logs

No response

Anything else?

No response

@zhengpd zhengpd added the bug Something isn't working label Dec 6, 2024
@zhengpd zhengpd changed the title Inconsistent font name case sensitive behavior Lower-case fallback font not found by wezterm Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant