1. pygame
  2. pygame
  3. pygame

Commits

René Dudfield  committed 175a77d

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

Comments (0)

Files changed (1)

File lib/sysfont.py Modified

View file
  • Ignore whitespace
  • Hide word diff
     #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: