1. pygame
  2. Untitled project
  3. pygame

Commits

illume  committed 175a77d

Added another possible registry key where there might be fonts on win.

  • Participants
  • Parent commits d84cb49
  • Branches default

Comments (0)

Files changed (1)

File lib/sysfont.py

View file
     #find valid registry keys containing font information.
     possible_keys = [
         r"SOFTWARE\Microsoft\Windows\CurrentVersion\Fonts",
-        r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts"
+        r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts",
+        r"SOFTWARE\Microsoft\Windows[NT]\CurrentVersion\Fonts",
         ]
 
     for key_name in possible_keys: