-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font rendering makes icons look flattish #18129
Comments
First, there is something wrong with rendering of powerline characters on the good machine. Second, that icon your looking for doesn't exist in Nerd Fonts currently. It was replaced two years ago with the Windows 10 logo (the icon seen on bad machine 2) in ryanoasis/nerd-fonts#978, then a year ago with the Windows 11 logo (the icon on bad machine 1) in ryanoasis/nerd-fonts#1290. |
I suspect they're using a significantly older version of Windows Terminal on that machine or perhaps have "AtlasEngine" disabled in the rendering settings, but I think it's the former. We used to have various glyph-overlap bugs in older versions that looked exactly like this that have long since been fixed.
In other words, they don't have the same MesloLGM Nerd Font version on their different devices? @dias-yelgonov you could try downloading and installing an older version of the font then. Also, please make sure to update your Windows Terminal to 1.21 on all devices. |
Then why the "Bad Machine No. 1" displays it after opening the terminal settings, without doing touching nothing there. Literally, open - close action.
Since 1.20.11271 it is enabled by default, and even disappeared from JSON file on all three machines.
Upgraded to 1.21 on the moment of opening the ticket. Latest version of terminal from Microsoft store, at the moment of opening the issue. Atlas Engine option is
Thanks for advice. Not sure about it, due to first quote, but will test it anyway and update the issue |
I've ensured that e62a is used in each oh-my-posh config. If I understand it correctly, I've just selected the prompt of Windows terminal and pasted it here. "Bad Machine No 1." soul_lucky: ~ ❯ "Good Machine" soul_lucky: ~ ❯ |
Alright, so here's a wild idea. Can you run this (powershell) on all of the machines?
Working theory: fonts installed per-user and fonts installed per-machine are fighting it out in a cage match1 and which one "wins" changes. Footnotes
|
Bad Machine No. 1
Good Machine
|
The latest version of Meslo LG NF came out 2024-04-12 which makes that date a little suspicious. Personally, I'd try and copy the font files from the good machine to the bad machine.
Oh, so you have the Builtin Glyphs setting disabled, right? |
Uh, Windows Compatible fonts have different font names then ones without that. @dias-yelgonov There wouldn't happen to be any |
It was enabled, same as on screenshot. On all machines.
Nope. Only Bold/Italic/Mono variations that I do not choose
To be honest, I've deleted all fonts with "eslo" name on all machines. Not sure if they are cached somewhere else and will it try to re-install the latest one. Off-topic: where I can find icons/symbols within the font? Maybe it will be easier for me to change the OS icon... |
Huh. Here is where you can find every icon in nerd fonts. |
Thank you everyone for highlighting the differences with installed fonts. The "issue" was with a font from 2020. |
Hey, I’m glad you got it figured out! We’ll be here if you’ve got another font—or Terminal, for that matter—mystery! |
Windows Terminal version
1.21.2911.0
Windows build number
10.0.22631.0
Other Software
I've tried it with all sizes of fonts in that font-family.
Downloaded from same portal, installed in the same way, using settings -> Personalization -> Fonts -> Browse and Install Fonts.
Clear fonts cache.
Restart machine on each step.
Moving all fonts from "good" to "bad" machines
Steps to reproduce
Not sure how to properly describe my issue. And haven't found anything similar.
Three Windows machines, same OS, identical configs for terminal & oh-my-posh theme file.
Two of them have the issue with theme's icons in terminal. They are looking flattish (?) The Windows OS icon looks like a simple square, but on the second machine same icon looks a little bit different due to different angle?
To reproduce:
Expected Behavior
Correct rendered version by default, from first session, first run:
Actual Behavior
On this machine, the render issue can be temporarily fixed:
But as soon as I close that "fixed" instance (i.e. all active Windows terminals) and open a new one, the same render issue appears.
For this system, the temporary fix doesn't work at all. Nothing works.
The text was updated successfully, but these errors were encountered: