You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee='https://github.com/terryjreedy'closed_at=<Date2019-02-24.04:56:06.943>created_at=<Date2015-05-28.05:09:07.450>labels= ['3.8', 'expert-IDLE', 'type-feature', '3.7', 'docs']
title='Idle documentation -- what to do if you do not see an underscore.'updated_at=<Date2019-02-24.04:56:06.943>user='https://bugs.python.org/lac'
On some operating systems, for instance a Macbook Pro with Retina, the
bottoms of hanging letters such as 'g' or 'y', as well as underscorces, cannot be seen in IDLE. The fix is to go to Options -> Configure IDLE, and change the size of the default font to 9 or 11.
Can we add this line to 220.127.116.11. and 18.104.22.168. ? It is not obvious, especially to the newbie who is trying to write their first python program that the inability to type underscores is a font problem.
That may be a problem better fixed in Tk itself. I don't have a Retina display handy. Assuming you have a current ActiveTcl 8.5 (8.5.18) installed, could you try some of the Tk text widget demos in /usr/local/bin/wish8.5 and see if the problem shows up there, too? Not sure what the font sizes there are, though. Thanks!
I don't have one, alas. It was a question sent to webmaster. I just
happened to know that reconfiguring your font size fixes the 'no
underscore' problem, so it occured to me that mentioning this in the
idle documentation might save some grief.
Thank you. I don't think that this problem is unique to Retina Macbooks -- I had it on an ancient Toshiba laptop I was using about 15 years ago.
It's not something that I have thought of very much recently. :)
I don't think one 4-years-old anonymous report missing essential details, and not verified since, is sufficient to drive a doc change, especially since the Mac installer has switched from recommending ActiveState 8.5.18 to installing our own compilation of 8.6.8.
On my MacBook Air with Mohave and 3.7.2, I added 'p__g' to the top of IDLE settings dialog font tab text sample and looked for glitches with various fonts and sizes. The only thing I found was with Optima 13. The 'g' was the double loop ('eyeglasses') form and a bit of the bottom of the lower loop was gone or thin. It was still easily recognized and the 'p__' part was unaffected.
I decided to document use of the font sample, including the possibility of changing face and size to avoid glitches. Since the procedure is generic for any platform or character, I did not specify Mac or 'p_g'.