wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.67k stars 745 forks source link

Iosevka font rendering broken for some font sizes in recent builds #661

Closed jdknezek closed 3 years ago

jdknezek commented 3 years ago

Describe the bug

Since 20210404, on Windows, the font I've been using (Iosevka) renders incorrectly at some point sizes (9, 12 which I use normally)

Environment (please complete the following information):

To Reproduce

Use Iosevka v5.2.1 on Windows, at font size 9 or 12

Configuration

        font = wez.font('Iosevka Term Light'),
        font_size = 12,
        font_rules = {
                {
                        intensity = 'Bold',
                        font = wez.font('Iosevka Term Medium'),
                },
        },

Expected behavior

Font rendering to remain consistent at all point sizes

Screenshots

20210314 @ 13 / 12: image image

20210404 @ 13 / 12: image image

20210405 @ 13 / 12: image image

Additional comments

I do use a custom style of Iosevka, but the same font works fine in 20210314 but is incorrect in both 202104 releases.

Thank you!

wez commented 3 years ago

Weirdly, this only manifested on Windows with this font, although the problem could have applied to any OS/font combination.

I've pushed a fix for this; when you see a green checkmark next to the commit referenced above, the nightly download will include that fix!

jdknezek commented 3 years ago

Thanks for the super quick fix, and everything you put into this project! I'll verify on the next nightly then close.

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.