Long sequences of repeating characters are misaligned #19412

Closed
opened 2026-01-31 06:42:33 +00:00 by claunia · 4 comments
Owner

Originally created by @ANK-dev on GitHub (Feb 19, 2023).

Windows Terminal version

1.17.1023

Windows build number

10.0.22621.1265

Other Software

Font: Iosevka Term 19.0.1

Steps to reproduce

Simply type long sequences of repeating characters like ------ or !!!!!!!!!.

Expected Behavior

Characters should appear aligned to the grid.

Actual Behavior

Characters get misaligned within the grid, such that the cursor position no longer corresponds to location where typed characters appear. Happens on any prompt, shell, WSL2 distro and in applications such as Vim.

https://user-images.githubusercontent.com/40664661/219950686-315eb4fc-71fe-4ec7-a6e6-8a61784566e9.mp4

Originally created by @ANK-dev on GitHub (Feb 19, 2023). ### Windows Terminal version 1.17.1023 ### Windows build number 10.0.22621.1265 ### Other Software Font: Iosevka Term 19.0.1 ### Steps to reproduce Simply type long sequences of repeating characters like `------` or `!!!!!!!!!`. ### Expected Behavior Characters should appear aligned to the grid. ### Actual Behavior Characters get misaligned within the grid, such that the cursor position no longer corresponds to location where typed characters appear. Happens on any prompt, shell, WSL2 distro and in applications such as Vim. https://user-images.githubusercontent.com/40664661/219950686-315eb4fc-71fe-4ec7-a6e6-8a61784566e9.mp4
Author
Owner

@zadjii-msft commented on GitHub (Feb 20, 2023):

I'd reckon that this would be a bug with the way the font is authored. I do see that there's the upstream https://github.com/be5invis/Iosevka/issues/1553 though and we're just spiderman.png'ing here.

Maybe @lhecker can take a look at the metrics under the debugger and figure out what's going on here.

@zadjii-msft commented on GitHub (Feb 20, 2023): I'd reckon that this would be a bug with the way the font is authored. I do see that there's the upstream https://github.com/be5invis/Iosevka/issues/1553 though and we're just [spiderman.png](https://cdn.vox-cdn.com/thumbor/mFiywP9BUHDC8AIRBDYJvXdfQiA=/1400x1050/filters:format(jpeg)/cdn.vox-cdn.com/uploads/chorus_asset/file/23265504/Spider_Man_meme.jpg)'ing here. Maybe @lhecker can take a look at the metrics under the debugger and figure out what's going on here.
Author
Owner

@zadjii-msft commented on GitHub (Feb 20, 2023):

I'd also be curious to know if any earlier versions of Iosevka Term worked. That would quickly help narrow it down.

@zadjii-msft commented on GitHub (Feb 20, 2023): I'd also be curious to know if any earlier versions of Iosevka Term worked. That would _quickly_ help narrow it down.
Author
Owner

@lhecker commented on GitHub (Feb 20, 2023):

Until the fix has shipped you can either disable the new text renderer in the "Rendering" section of your settings, or use a slightly different font size, like 11.5. 🙂

@lhecker commented on GitHub (Feb 20, 2023): Until the fix has shipped you can either disable the new text renderer in the "Rendering" section of your settings, or use a slightly different font size, like 11.5. 🙂
Author
Owner

@ANK-dev commented on GitHub (Feb 20, 2023):

Disabling the new text renderer (AtlasEngine) has no effect on the issue. Changing the font size/zoom level works for now.

@ANK-dev commented on GitHub (Feb 20, 2023): Disabling the new text renderer (AtlasEngine) has no effect on the issue. Changing the font size/zoom level works for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19412