Skip to content

Instantly share code, notes, and snippets.

@decipher3114
Created January 25, 2026 18:34
Show Gist options
  • Select an option

  • Save decipher3114/4bfbd82bbdfd98290b1bd075d27aa7b6 to your computer and use it in GitHub Desktop.

Select an option

Save decipher3114/4bfbd82bbdfd98290b1bd075d27aa7b6 to your computer and use it in GitHub Desktop.
Change Windows 11 Font for all UWP components (Apps and UI)

Change Windows 11 Font for all UWP components (Apps and UI)

image

✅ Pre-requisites

  1. Font must be installed for All Users (it should be present in C:\Windows\Fonts)
  2. 🧠 Brain (recommended)
  3. ✋ Fingers (to type)

🛠️ Procedure

  1. Open Settings ⚙️

  2. Go to Personalization → Fonts

  3. Open the font you want to use.

  4. Copy the Font Family + Style (case sensitive).
    Example: JetBrains Mono + Bold → JetBrains Mono Bold

    ⚠️ Note:
    Font style won’t work properly for variable fonts.
    Convert the font to static before installing.
    Use: Var2Stat ⭐ (drop a star for the dev)

  5. Open Registry Editor 🧾 (regedit)

  6. Go to:

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
    
  7. Create a new key named XAML if it doesn’t exist.

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\XAML
    
  8. Inside XAML, create a new String Value (REG_SZ) named:

    AutoFontFamily
    
  9. Set its value to your Font Family + Style name.

  10. 🔁 Sign out or restart your PC.

Cheers 🎉

@decipher3114

Copy link
Copy Markdown
Author

@Emtee88
No idea. I am not using this method anymore though. I suggest using FontWizard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment