[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Pull request #26: sysfont.py change for OS X 10.9 from Dan Ross



Should we accept this change for pygame 1.9.2?
https://bitbucket.org/pygame/pygame/pull-request/26/removed-usage-of-fc-list-in-os-x-font/diff

Jason


lib/sysfont.py

def initsysfonts_darwin():
    """ read the fonts on OSX.
    """
    # if the X11 binary exists... try and use that.
    #  Not likely to be there on pre 10.4.x ...
    #    so still need to do other OSX specific method below.
-    if os.path.exists("/usr/X11/bin/fc-list"):
-        fonts = initsysfonts_unix()
-    else:
-        fonts = {}
+    # if os.path.exists("/usr/X11/bin/fc-list"):
+#         fonts = initsysfonts_unix()
+#     else:
+#         fonts = {}
+    fonts = {}
     
    # we look for the default paths.
    _search_osx_font_paths(fonts)

    return fonts