Comments (17)
Thanks for following up!
from terminal.
I'd like to apologize for not noticing the extra font face entry in your settings file. π£
I'm glad however, that you were to able to resolve the issue!
from terminal.
Did you install that font for all users? Or just for your current user/? We've had persistent problems with fonts that aren't installed for all users π€·
from terminal.
Ensure the custom fonts are correctly installed, restart the application, and verify font configuration settings.
from terminal.
Did you install that font for all users? Or just for your current user/? We've had persistent problems with fonts that aren't installed for all users π€·
The problem I'm having is that I've selected font A, but Windows Terminal tells me can't find font B!
from terminal.
Could you share your settings.json file/?
from terminal.
@zadjii-msft I believe this occurs because they're using DxRenderer. It gets the font family from the font file here:
terminal/src/renderer/dx/DxFontInfo.cpp
Lines 257 to 313 in 39f9092
The warning pops up if that family name does not match the font name in the settings.
This issue has been solved in two ways:
- DxRenderer does not exist anymore. You can only use AtlasEngine in the latest builds.
- #16821 refactored the way we emit renderer warnings, so this can't happen anymore.
@ShaneLee-9 As a workaround you can simply use AtlasEngine until 1.21 is released.
from terminal.
Could you share your settings.json file/?
Hi, this is my settings.json
from terminal.
Now that you have AtlasEngine enabled, does the error go away? If it still happens for some reason, please feel free to temporarily use our Canary build (our nightly version): https://aka.ms/terminal-canary-installer
from terminal.
Now that you have AtlasEngine enabled, does the error go away? If it still happens for some reason, please feel free to temporarily use our Canary build (our nightly version): https://aka.ms/terminal-canary-installer
AtlasEngine enabled, but the problem persists!
I installed the Canary version (our nightly version)
from terminal.
Hmm... I see, that's surprising.
Can you please provide a link to the font so I can download it?
from terminal.
Hmm... I see, that's surprising.
Can you please provide a link to the font so I can download it?
https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/D2Coding.zip
from terminal.
Are you certain that this is the exact same font that you're using? It only contains an US English name which is "D2CodingLigature Nerd Font":
There's no mention of "FragmentMono". Do you have a different font installed which is called "FragmentMono"? If so, can you provide a download link for that font as well? I know that Fragment Mono exists, but there's no official "Nerd Font" variant for it.
"D2CodingLigature Nerd Font" does properly show up in Windows Terminal 1.19.10821.0 for me:
Selecting it doesn't result in any error messages for me either. If I manually enter "FragmentMono Nerd Font" the correct font name shows up in the error message:
from terminal.
Are you certain that this is the exact same font that you're using? It only contains an US English name which is "D2CodingLigature Nerd Font":
There's no mention of "FragmentMono". Do you have a different font installed which is called "FragmentMono"? If so, can you provide a download link for that font as well? I know that Fragment Mono exists, but there's no official "Nerd Font" variant for it.
"D2CodingLigature Nerd Font" does properly show up in Windows Terminal 1.19.10821.0 for me:
Selecting it doesn't result in any error messages for me either. If I manually enter "FragmentMono Nerd Font" the correct font name shows up in the error message:
The root cause of my problem is that I installed the font "D2CodingLigature Nerd Font Mono" about a week ago. One day I removed "D2CodingLigature Nerd Font Mono" from my computer and installed "FragmentMono Nerd Font". Then I wanted to change my Terminal font to "FragmentMono Nerd Font". Termina then shows the above error message. It actually can't find the "D2CodingLigature Nerd Font Mono" that I used and deleted. After that, no matter what fonts I select in Terminal's settings, it will report that it can't find "D2CodingLigature Nerd Font Mono".
from terminal.
Oh no. I hope this doesn't mean that your font cache is corrupted. π£
Can you please try this series of steps? My hope is that this brings the cache back into a good state:
- Open
%LOCALAPPDATA%\Microsoft\Windows\Fonts
and check if the folder is empty. If it's not empty, open the Fonts control panel (search for "fonts" in the start menu):
Find and delete each corresponding font until the%LOCALAPPDATA%\Microsoft\Windows\Fonts
folder is empty. - Download the D2CodingLigature font (https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/D2Coding.zip) again and install it for all users.
- Uninstall both, your "D2CodingLigature Nerd Font" and "FragmentMono Nerd Font" fonts simultaneously.
Afterwards, reboot your PC and try installing the "D2CodingLigature Nerd Font" (for all users).
from terminal.
Oh no. I hope this doesn't mean that your font cache is corrupted. π£
Can you please try this series of steps? My hope is that this brings the cache back into a good state:
- Open
%LOCALAPPDATA%\Microsoft\Windows\Fonts
and check if the folder is empty. If it's not empty, open the Fonts control panel (search for "fonts" in the start menu):
Find and delete each corresponding font until the%LOCALAPPDATA%\Microsoft\Windows\Fonts
folder is empty.- Download the D2CodingLigature font (https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/D2Coding.zip) again and install it for all users.
- Uninstall both, your "D2CodingLigature Nerd Font" and "FragmentMono Nerd Font" fonts simultaneously.
Afterwards, reboot your PC and try installing the "D2CodingLigature Nerd Font" (for all users).
I tried reinstalling "D2CodingLigature Nerd Font Mono" and it didn't pop up again, but I have a new problem: I can't select any font. It looks like some program is locking up my Terminal fonts!
from terminal.
Oh, I seem to have found the reason. I donβt know when the font of Powershell was set separately in my terminal.
from terminal.
Related Issues (20)
- Cannot move the Find dialog, if it covers a search result HOT 2
- Issues with cursor invalidation in GDI HOT 3
- Reflow behavior on window resize seems broken if the cursor is hidden HOT 3
- Feature Request: Add retro Apple II cursor style HOT 2
- Profiles missing after copying settings to other computer HOT 9
- BUG REPORT HOT 2
- When I use certain tools, I occasionally get printing exceptions. HOT 4
- Remove Command's knowledge of its own keybindings
- Terminal crashes when launched by `start /MAX` HOT 2
- wt.exe --version behaviour HOT 3
- Double-click word selection picks up the RPROMPT from the previous line because word wrapping is hard HOT 2
- No longer use Command.Name for disambiguation
- `OpenConsole.exe` can steal focus from the terminal HOT 10
- [1.21] Changing a font axis/feature value does not update the preview
- [1.21] After changing font, features/axes can't be edited
- Pause and resume execution of left- and right-click like in PowerShell HOT 7
- Fonts don't render correctly on ubuntu in windows terminal, but render correctly on command prompt on windows terminal HOT 3
- `conhost.exe --headless` doesn't exit with the child process's exit code. HOT 8
- Sometimes windows don't get persisted on a Windows Update HOT 5
- Underline color is being overwritten by foreground color HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.