[New-bugs-announce] [issue10118] Tkinter does not find font
mark saaltink
report at bugs.python.org
Sat Oct 16 03:30:30 CEST 2010
New submission from mark saaltink <platonic.liquid at gmail.com>:
Tkinter, since tk 8.5 apparently, does not find all the fonts that tk knows about.
I'm using Python 2.6.5 on Linux but have seen this on previous versions. I have added the font with "xset fp+ <some font directory>"". The font is Richard Jones' zed font, available from http://www.cs.kent.ac.uk/people/staff/rej/Zedfont/latest/
xlsfonts shows the font.
tk sees the font; in wish if I type "font families" there it is:
% font families
{fangsong ti} fixed {clearlyu alternate glyphs} charter lucidatypewriter zedfont {latin modern roman} ...
In Tkinter I do not see the font:
>>> from Tkinter import *
>>> r = Tk()
>>> import tkFont
>>> tkFont.families(r)
... no sign of the zedfont here.
Is this expected behaviour? Is there another way to install the font that avoids this problem?
----------
components: Tkinter
messages: 118850
nosy: mark.saaltink
priority: normal
severity: normal
status: open
title: Tkinter does not find font
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10118>
_______________________________________
More information about the New-bugs-announce
mailing list