Hello. everybody.
I am making a GUI with Tk on Linux (latest Mint 64bit distribution) with Python 3.4, but I have a font problem : the available fonts are very limited (and quite ugly) when I run the program with the interpreter of Anaconda's latest distribution, but it works well with Linux default interpreter (but it is more complex for normal users after release because of modules). The problem is quite similar to this
one (but I don't use Pypy).
Here is a minimal working code :
import platform
import tkinter
import tkinter.font
print(platform.python_implementation())
print(tkinter.__file__)
root = tkinter.Tk()
font_families = tkinter.font.families()
print("number of font families : ", len(font_families))
print("\n".join(font_families))On Linux default interpreter :
CPython
/usr/lib/python3.4/tkinter/__init__.py
number of font families : 123
Noto Sans Hebrew
Padauk Book
Century Schoolbook L
OpenSymbol
Khmer OS System
Noto Serif
Ubuntu
[...]On Anaconda :
CPython
/home/benjamin/anaconda3/lib/python3.4/tkinter/__init__.py
number of font families : 21
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 extraI really don't know how to solve this problem (and I prefer to use all packages and modules from Anaconda's distribution because it is easier to install for normal users after release, so it would be better that a potential solution does not need complex modification). I would be glad if you could help me.
Sincerely.