Python --- matplotlib库
1. 查看可显示的所有字体
from matplotlib.font_manager import FontManager
fonts = set(f.name for f in FontManager().ttflist)
for f in sorted(fonts):
printf(f)
1. 查看可显示的所有字体
from matplotlib.font_manager import FontManager
fonts = set(f.name for f in FontManager().ttflist)
for f in sorted(fonts):
printf(f)