Author terry.reedy
Recipients gpolo, kbk, petr.viktorin, roger.serwy, serhiy.storchaka, terry.reedy, wysaard
Date 2016-04-12.19:44:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460490297.26.0.898764070329.issue26673@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you.  I believe a see a bug in configHandler.)idleConf.GetFont(self, 'main', 'EditorWindow') returning a size of 0.  Could you post the result of running the following for the bad case?

import tkinter as tk
from tkinter.font import Font
root=tk.Tk()
f = Font(name='TkFixedFont', exists=True, root=root)
print(Font.actual(f))

There is still a question of how fontSize=0 becomes self.fontSize=='', but that will not matter when fontSize=0 is prevented.
History
Date User Action Args
2016-04-12 19:44:57terry.reedysetrecipients: + terry.reedy, kbk, gpolo, roger.serwy, petr.viktorin, serhiy.storchaka, wysaard
2016-04-12 19:44:57terry.reedysetmessageid: <1460490297.26.0.898764070329.issue26673@psf.upfronthosting.co.za>
2016-04-12 19:44:57terry.reedylinkissue26673 messages
2016-04-12 19:44:57terry.reedycreate