环境:
macOS Sierra 10.12.2
python 3.6.0
pygame 1.9.3
命令行:
Python 3.6.0 (default, Mar 9 2017, 09:44:31)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
>>> pygame.ver
'1.9.3'
>>> pygame.font.get_fonts()
[None]
pygame.font.get_fonts()返回空列表?如何解决?
ls /Library/Fonts/
看看字体库里是不是有字体