1. pygame
  2. Untitled project
  3. pygame

Source

pygame / pygame / font.py

Diff from to

File pygame/font.py

  • Ignore whitespace
 __docformat__ = 'restructuredtext'
 __version__ = '$Id$'
 
+import sys
+
 from SDL import *
 from SDL.ttf import *
 
                 SDL_FillRect(surf, None, c)
             else:
                 SDL_SetColorKey(surf, SDL_SRCCOLORKEY, 0)
-        elif antialias:
+        elif antialias or sys.platform == 'darwin':
             if not background:
                 surf = TTF_RenderText_Blended(font, text, foreground)
             else: