有没有办法在我的 PySimpleGUI 桌面应用程序中使用 Google 字体?或者有没有 Python 内置的包可以在我的代码中使用 Google 字体?如果有,我该如何使用导入的模块的 Google 字体替换 PySimpleGUI 中 (Button 或 Text) 元素的字体?而且我发现 PySimpleGUI 中有几种可用字体(Helvetica、Courier、Times、Arial ...),但是我想查看 PySimpleGUI 中所有可用字体的完整列表?
fonts
中的代码。from tkinter import font
import tkinter
root = tkinter.Tk()
fonts = list(font.families())
fonts.sort()
root.destroy()