Skip to content
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

Auto Reverting Font to Consolas #17276

Open
ezekielbaniaga opened this issue May 16, 2024 · 6 comments
Open

Auto Reverting Font to Consolas #17276

ezekielbaniaga opened this issue May 16, 2024 · 6 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@ezekielbaniaga
Copy link

Windows Terminal version

1.20.11271.0

Windows build number

10.0.22631.0

Other Software

Just opening plain terminal

Steps to reproduce

  1. Install JetBrainsMono Nerd Font
  2. Open Terminal and set as default font
  3. Dialog warning will show just click OK
  4. Terminal will default to consolas.
  5. Open terminal tab a few times and it will suddenly use JetBrainsMono Nerd Font

Here's a screenshot of a working scenario:
image

Here's a screenshot of non-working scenario:
image

Expected Behavior

Clearly Windows Terminal can use the font. I'm expecting it to just use JetBrainsMono Nerd Font at the start without the hassle. I installed the font a few times even charmap verifies that font is installed. Also if font is not installed correctly then why:

  1. JetBrainsMono Nerd Font is in the list of Font face selection at Windows Terminal Settings
  2. Windows Terminal suddenly uses the font after a few tries

Actual Behavior

Shows annoying "Warning Unable to find the selected font JetBrainsMono Nerd Font. "Consolas" has been selected instead. Please either install the missing font or choose another one."

@ezekielbaniaga ezekielbaniaga added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 16, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@zadjii-msft
Copy link
Member

Did you install the font for all users/?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label May 16, 2024
@ezekielbaniaga
Copy link
Author

Did you install the font for all users/?

No. I just select set of fonts then "Install". I also tried dragging to Windows Fonts directory

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels May 17, 2024
@ezekielbaniaga
Copy link
Author

Install for all users work. It's kinda hidden though.

image

BTW, why not include a quick instructions at the warning dialog box? Or maybe some description in the warning dialog box that will tell the user that he needs to install for "all users" in order to render text properly.

@lhecker
Copy link
Member

lhecker commented May 17, 2024

Install for all users work. It's kinda hidden though.

FYI don't forget to remove the per-user font now, or otherwise you got it installed twice. If you then update the font in the future, some apps will use the old version and some the new version which will be confusing.

BTW, why not include a quick instructions at the warning dialog box?

IMO that's a good idea. @zadjii-msft what do you think?

The reason you need to install it for all users is because per-user fonts have never been properly implemented in Windows. The font cache service simply "forgets" them after a reboot. So even outside of Windows Terminal, I would recommend always installing it for all users. We've internally reported the bug (MSFT:42103854), but work on it hasn't started yet. You can see the full history over at #3257.

@ezekielbaniaga
Copy link
Author

Install for all users work. It's kinda hidden though.

FYI don't forget to remove the per-user font now, or otherwise you got it installed twice. If you then update the font in the future, some apps will use the old version and some the new version which will be confusing.

Thank you for reminding me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants