Commit 9fa149dd authored by Terry Jan Reedy's avatar Terry Jan Reedy

Merge with 3.5

parents 1f9eb879 5917f973
......@@ -720,7 +720,7 @@ class IdleConf:
actualFont = Font.actual(f)
family = actualFont['family']
size = actualFont['size']
if size < 0:
if size <= 0:
size = 10 # if font in pixels, ignore actual size
bold = actualFont['weight']=='bold'
return (family, size, 'bold' if bold else 'normal')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment