Open imSamiul opened 2 months ago
Do you have an example of a font where it's not broken like that?
Do you have an example of a font where it's not broken like that?
Fira Code Nerd Font Mono
@o-l-a-v
I can't reproduce. Tried Cascadia Mono NF and Cascadia Code NF.
@o-l-a-v it gets fixed when the font size increased. Try using lower the font size of windows terminal then use get-PoshThemes. some themes are broken. to be specific when the font size is 12
I used font size 12 in those screenshots and zoomed in. I also tried Get-PoshThemes
. I can't reproduce with the steps you've provided. So maybe you should do some more research into what conditions causes this.
Not to say that there isn’t something else going on here, but it is challenging to identify exactly the problem due to the differing factors involved. Namely the way that a given rendering environment implements the highlighting, the way the OS text rasterizer positions the end cap, the resolution of your monitor, zoom amount, etc etc.
I think that the next version of Cascadia will sort this out but hard to say for certain.
My problem is kind of wierd. My themes get broken only on even number of font size like 10,12,14... 16 is good. don't know what happed. 11,13,15 are good. hard to find out the problem. I use windows 11, my laptop resolution is 1920x1080 with 125% zoom 15.6 inch display. maybe it pixer rendering issue. not sure. any information that you need i can provide. Hope for the better version of Cascadia.
Yeah, that’s kind of how this thing goes. Some sizes are perfect, others aren’t. Hard to predict!
It is worth noting that new versions of Windows Terminal (1.20 and above) take over the following powerline shapes, and draw them "perfectly". This means that if you are using Cascadia with these versions Windows Terminal, you should not experience rounding errors like this.
Cascadia family version
2404.23
Cascadia family variant(s)
Cascadia Code (the version with ligatures)
Font file format(s)
.ttf (variable)
Platform
Windows
Other Software
Windows Terminal
What happened?
Here o-my-posh theme icon is slightly broken on new released Cascadia Code 2404.23 Nerd Font.