Hier einmal CPython:

selber Programm code mir PyPy:

Code: Alles auswählen
try:
# Python 3
import tkinter
except ImportError:
# Python 2
import Tkinter as tkinter
root = tkinter.Tk()
font_families = root.tk.call("font", "families")
print("There are %i font families:" % len(font_families))
for font_family in font_families:
print("\t%s" % font_family)Code: Alles auswählen
There are 21 font families:
fangsong ti
fixed
clearlyu alternate glyphs
courier 10 pitch
open look glyph
bitstream charter
song ti
open look cursor
newspaper
clearlyu ligature
mincho
clearlyu devangari extra
clearlyu pua
clearlyu
clean
nil
clearlyu arabic
clearlyu devanagari
standard symbols l
gothic
clearlyu arabic extra
Das Problem liegt bei PyPy-Portable. Beim offiziellen PyPy hat man die selben Fonts wie mit CPython, siehe: https://github.com/squeaky-pl/portable-pypy/issues/4jens hat geschrieben:Hab mal ein ticked eröffnet: https://bitbucket.org/pypy/pypy/issue/1 ... sing-fonts