[issue10118] Tkinter does not find font

2010-10-15 Thread mark saaltink

New submission from mark saaltink :

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+ "".  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 
<http://bugs.python.org/issue10118>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10118] Tkinter does not find font

2010-10-26 Thread mark saaltink

mark saaltink  added the comment:

I built the latest 2.7, with tk/tcl 8.5, and see the same problem.

--

___
Python tracker 
<http://bugs.python.org/issue10118>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com