Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
Immediately after installation, a font installed through WinGet in user scope is visible to applications, but is no longer visible after a logout or restart. When I say visible, I mean:
- Applications (e.g. Notepad) recognize and list the font.
- The Settings → Personalization → Fonts menu lists the font.
winget font list lists the font.
After a logout or restart, the font is not listed anywhere above. However:
- The font still exists on disk (scoped by package name and version, in
%localappdata%\Microsoft\Windows\Fonts\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe).
- The font is still listed in
winget font list --details.
- Attempting to
winget install the font again will result in WinGet claiming the font is already installed.
- Registry entries still exist for the font (scoped by package name and version, in
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe).
The font can be made to "reappear" via AddFontResource from the Windows GDI, but it will "disappear" following a second logout or restart. Installing the same font file manually (e.g. right click → Install) has the font persist, even through logouts or restarts.
Installing the package with --scope machine works as expected.
Steps to reproduce
- Install
ryanoasis.CaskaydiaCove:
winget install --exact --id ryanoasis.CaskaydiaCove --source winget-font
- OR install any font from winget-extras, here
Google.AtkinsonHyperlegible.Next:
winget source add --name winget-extras --type Microsoft.PreIndexed.Package --arg https://winget.tplant.com.au/cache
winget install --exact --id Google.AtkinsonHyperlegible.Next --source winget-extras
- OR install any font from a local manifest.
- Verify the font is listed in Settings → Personalization → Fonts, OR open Notepad and switch the font to the newly-installed one in the Format → Font menu.
- Log out and log back in.
- Notice that the font is no longer listed in Settings → Personalization → Fonts, OR open Notepad again and notice that the font fails to load and is not visible in the Format → Font menu.
Expected behavior
The font should be listed in the Settings → Personalization → Fonts menu and load in Notepad.
Actual behavior
The font is no longer listed in the Settings → Personalization → Fonts menu and does not load in Notepad.
Environment
Windows Package Manager v1.29.290
Windows: Windows.Desktop v10.0.19045.6466
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.290.0
Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
Immediately after installation, a font installed through WinGet in user scope is visible to applications, but is no longer visible after a logout or restart. When I say visible, I mean:
winget font listlists the font.After a logout or restart, the font is not listed anywhere above. However:
%localappdata%\Microsoft\Windows\Fonts\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe).winget font list --details.winget installthe font again will result in WinGet claiming the font is already installed.HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe).The font can be made to "reappear" via
AddFontResourcefrom the Windows GDI, but it will "disappear" following a second logout or restart. Installing the same font file manually (e.g. right click → Install) has the font persist, even through logouts or restarts.Installing the package with
--scope machineworks as expected.Steps to reproduce
ryanoasis.CaskaydiaCove:Google.AtkinsonHyperlegible.Next:Expected behavior
The font should be listed in the Settings → Personalization → Fonts menu and load in Notepad.
Actual behavior
The font is no longer listed in the Settings → Personalization → Fonts menu and does not load in Notepad.
Environment