Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Greater than 100% DPI scaling on Windows leads to 1 pixel vertical bar between some characters #226

Closed
gusper opened this issue Apr 9, 2020 · 6 comments

Comments

@gusper
Copy link

gusper commented Apr 9, 2020

I'm not sure what component is causing this but figured I'd start with this project. I'm using Cascadia Code PL for my prompt, posh-git, etc. However, I noticed that on 2 of my 3 monitors, I'm getting a 1px wide line between some characters.

It only happens on the two 4K monitors I have that are using greater than 100% scaling. I have a 2K monitor running at 100% scaling that doesn't show the bars.

Here's what it looks like on the 4K monitors (note red dots I added to highlight the lines):
image

Here's what it looks like on the 2K monitor after dragging the same window over to it:
image

Any ideas if there's a way for me to fix this?

@sobayed
Copy link

sobayed commented Apr 20, 2020

Same issue here. On my secondary monitor (1920 x 1200, 100% scaling) the display is fine whereas on my laptop screen (1920 x 1080, 150% scaling) I also get these lines in between the characters (also using Cascadia Code PL).

@JanDeDobbeleer
Copy link
Owner

No idea tbh. As it's a string (nothing special there) it does not contain abilities to have influence on the space behavior.

@ForNeVeR
Copy link
Contributor

ForNeVeR commented May 1, 2020

This issue better should be filed to Windows Terminal or whatever terminal software you use.

@sobayed
Copy link

sobayed commented May 1, 2020

Might be related to this issue: microsoft/terminal#455

@miniksa
Copy link

miniksa commented May 1, 2020

Might be related to this issue: microsoft/terminal#455

It is exactly that issue. This isn't for oh-my-posh to fix. It's for me to fix in the Windows Terminal.

@gusper
Copy link
Author

gusper commented May 9, 2020

Closing out now that it's confirmed it should have been in terminal (and it's actually working for me now too so I must have gotten an update).

@gusper gusper closed this as completed May 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants