Skip to content

Weird fonts on Windows Server 2022 #11032

Closed

Description

@faxx1080

Windows Terminal version (or Windows build number)

1.10.1933.0

Other Software

Fresh install of Windows Server 2022 Evaluation, straight from https://www.microsoft.com/en-us/evalcenter/. Did not yet check for updates.

Steps to reproduce

Install latest preview appxbundle using Add-AppxPackage.
Running Windows Server on VMWare Workstation 16.1.2 build-17966106.

Expected Behavior

Capture

This is how cascadia code normally looks.

Actual Behavior

This is what I got. Doesn't quite seem right.

Capture-bad

Activity

  1. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Aug 25, 2021
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Aug 25, 2021
  3. j4james commented on Aug 25, 2021

    @j4james
    Collaborator

    This looks it might be the same thing as #11017.

  4. zadjii-msft commented on Aug 26, 2021

    @zadjii-msft
    Member

    This is wild that we got the same report 3 times in a week. Frank M (@faxx1080) what font are you using in the Terminal? What DPI scaling?

  5. faxx1080 commented on Aug 26, 2021

    @faxx1080
    Author
  6. ghost added
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Aug 26, 2021
  7. ghost removed
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Aug 26, 2021
  8. faxx1080 commented on Aug 26, 2021

    @faxx1080
    Author

    **I'm not 100% sure it was Cascadia Code; it was whatever font is the default after installing the Appx package.

    Note that I did this on the out of box Administrator account which has UAC turned off.

  9. zadjii-msft commented on Aug 30, 2021

    @zadjii-msft
    Member

    Okay this is wild. If you go into something like Microsoft Word, or anything that has a font picker, and go through that list, does "Cascadia Code" appear in that list? And does it appear in the dropdown list in the Terminal? We just got an internal report of the same thing that suggested that the font was uninstalled?

  10. rmbolger commented on Sep 2, 2021

    @rmbolger

    I'm having the same issue on a recently installed, non-domain joined, Windows Server 2022 Standard (version 21H2, build 20348.202) VM. It sure seems like whatever the default font is just doesn't get installed.

    The Font face field in the Terminal appearance settings is just empty for the profile. It's also not listed in the picker. I haven't tried to make any settings changes yet.

    terminal-settings-no-fontface

    WordPad doesn't show any Cascadia related fonts in the list.

    wordpad-no-cascadia

    I installed the Microsoft.WindowsTerminal_1.10.2383.0_8wekyb3d8bbwe.msixbundle via Add-AppxPackage. The only other things I currently have installed on this box are Pwsh 7.1.4, the latest VS Code (user install), and VMware Tools 11.1.

    One more note. I had previously accidentally installed the Microsoft.WindowsTerminalPreview_1.11.2421.0_8wekyb3d8bbwe.msixbundle package which I uninstalled after realizing it was the preview instead of the release.

  11. zadjii-msft commented on Sep 2, 2021

    @zadjii-msft
    Member

    The Font face field in the Terminal appearance settings is just empty for the profile. It's also not listed in the picker.

    WordPad doesn't show any Cascadia related fonts in the list.

    WHAT THE

    That's WILDLY unexpected, but definitely explains why you're seeing what you're seeing. It doesn't make sense, but that at least explains it. The Cascadia family of fonts should be shipping in our package:

    <Extensions>
    <uap7:Extension Category="windows.sharedFonts">
    <uap7:SharedFonts>
    <uap4:Font File="CascadiaCode.ttf" />
    <uap4:Font File="CascadiaCodeItalic.ttf" />
    <uap4:Font File="CascadiaMono.ttf" />
    <uap4:Font File="CascadiaMonoItalic.ttf" />
    </uap7:SharedFonts>
    </uap7:Extension>
    </Extensions>

    But if they're not getting installed when you install the Terminal, then a bunch of stuff will break. We pretty consistently rely on those fonts existing.

  12. 36 remaining items

  13. fdwr commented on Sep 10, 2021

    @fdwr

    but doesn't appear in C:\Windows\Fonts; nor does it appear in the old Fonts control panel.

    Frank M (@faxx1080): IIRC, the old fontext.dll enumerated the registry itself directly rather than going through GDI or DirectWrite. So it would not know about "per user" fonts, unless additional work was done to it 🤔. I think the shell verb "Install" (forget which OS version this happened) now installs fonts into %LOCALAPPDATA%\Microsoft\Windows\Fonts\ (e.g. c:\Users\fdwr\AppData\Local\Microsoft\Windows\Fonts\NotoColorEmoji.ttf) using Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts, whereas "Install for all users" installs to the old c:\Windows\Fonts\ using Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts.

  14. ghost added
    In-PRThis issue has a related PR
    on Nov 15, 2021
  15. ghost closed this as completedin #11764on Nov 16, 2021
  16. ghost removed
    In-PRThis issue has a related PR
    on Nov 16, 2021
  17. ghost added
    Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.
    on Nov 16, 2021
  18. ghost added a commit that references this issue on Nov 16, 2021
    131f5d2
  19. elevul commented on Nov 23, 2021

    @elevul

    Problem was solved for me on 2 Server 2022 installs after installing the Cascadia Code fonts: https://github.com/microsoft/cascadia-code

  20. added 2 commits that reference this issue on Dec 13, 2021
    38a7c40
    4c364e9
  21. ghost added a commit that references this issue on Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-FontsRelated to the fontCulprit-CentennialHelp WantedWe encourage anyone to jump in on these.Issue-BugIt either shouldn't be doing this or needs an investigation.Priority-3A description (P3)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions