New issue 1866: Tkinter missing fonts...
https://bitbucket.org/pypy/pypy/issue/1866/tkinter-missing-fonts
Jens Diemer:
I notice that i have much less fonts available with PyPy than with CPython.
I have made a simple test script:
```
#!python
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)
```
With CPython under linux mint 17 i get a list of 95 font families.
With PyPy (i used https://github.com/squeaky-pl/portable-pypy ) i get only this
output:
```
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
```
The result is, that a tkinter GUI looks very ugly running with PyPy than with
CPython.
Screenshots:


selber Programm code mir PyPy:
[img]http://snag.gy/MffcC.jpg[/img]
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue