Terry J. Reedy added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26673> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com