Graph lines in tig don't render at all font sizes #13726

Closed
opened 2026-01-31 03:50:30 +00:00 by claunia · 2 comments
Owner

Originally created by @JelteF on GitHub (May 5, 2021).

Windows Terminal version (or Windows build number)

1.7.1033.0

Other Software

tig version 2.3.0 (inside WSL2, Ubuntu 18.04)

Steps to reproduce

  1. Set the following as font settings:
            "fontFace": "Consolas",
            "fontSize": 8
  1. open tig in a git repo on your WSL

Expected Behavior

What you see at fontsize 9:
afbeelding

Actual Behavior

At fontsize 8:
afbeelding

at fontsize 7:
afbeelding

at fontsize 6:
afbeelding

As you can see the exact lines that are missing differ based on the fontsize. I ran into this issue with fontsize 10 using this Ubuntu Mono Nerd Font, but as shown here it also reproduces with Consolas. One interesting thing is that all lines are visible with the Ubunutu font is that, on fontsize 8 and 10 all lines are visible, but on fontsize 9 not all are visible. So it's not just that the font is "too small" to display the lines.

I thought of commenting on this issue: https://github.com/microsoft/terminal/issues/909, but it seems unrelated after going through the comments there.

Originally created by @JelteF on GitHub (May 5, 2021). ### Windows Terminal version (or Windows build number) 1.7.1033.0 ### Other Software tig version 2.3.0 (inside WSL2, Ubuntu 18.04) ### Steps to reproduce 1. Set the following as font settings: ``` "fontFace": "Consolas", "fontSize": 8 ``` 2. open `tig` in a git repo on your WSL ### Expected Behavior What you see at fontsize 9: ![afbeelding](https://user-images.githubusercontent.com/1162278/117165802-1ad18280-adc6-11eb-86db-74db30fb24d7.png) ### Actual Behavior At fontsize 8: ![afbeelding](https://user-images.githubusercontent.com/1162278/117165761-12794780-adc6-11eb-932d-474849f279af.png) at fontsize 7: ![afbeelding](https://user-images.githubusercontent.com/1162278/117165951-3c326e80-adc6-11eb-9d03-2253aafe8476.png) at fontsize 6: ![afbeelding](https://user-images.githubusercontent.com/1162278/117166439-ab0fc780-adc6-11eb-9d9b-0858707cf51f.png) As you can see the exact lines that are missing differ based on the fontsize. I ran into this issue with fontsize 10 using this [Ubuntu Mono Nerd Font](https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/UbuntuMono/Regular/complete/Ubuntu%20Mono%20Nerd%20Font%20Complete%20Windows%20Compatible.ttf), but as shown here it also reproduces with Consolas. One interesting thing is that all lines are visible with the Ubunutu font is that, on fontsize 8 and 10 all lines are visible, but on fontsize 9 not all are visible. So it's not just that the font is "too small" to display the lines. I thought of commenting on this issue: https://github.com/microsoft/terminal/issues/909, but it seems unrelated after going through the comments there.
claunia added the Resolution-Duplicate label 2026-01-31 03:50:30 +00:00
Author
Owner

@DHowett commented on GitHub (May 5, 2021):

Thanks!

This looks like either /dup #7927 (if the font has bitmap strikes) or /dup #6161 (if we try to draw them too small, they will be destroyed because they went below one pixel in size)

@DHowett commented on GitHub (May 5, 2021): Thanks! This looks like either /dup #7927 (if the font has bitmap strikes) or /dup #6161 (if we try to draw them too small, they will be destroyed because they went below one pixel in size)
Author
Owner

@ghost commented on GitHub (May 5, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (May 5, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13726