classification
Title: Idle documentation -- what to do if you do not see an underscore.
Type: enhancement Stage: resolved
Components: Documentation, IDLE Versions: Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: docs@python, lac, miss-islington, terry.reedy
Priority: normal Keywords: patch

Created on 2015-05-28 05:09 by lac, last changed 2019-02-24 04:56 by terry.reedy. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 12007 merged terry.reedy, 2019-02-24 03:34
PR 12008 merged miss-islington, 2019-02-24 04:05
Messages (9)
msg244267 - (view) Author: Laura Creighton (lac) Date: 2015-05-28 05:09
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 25.5.5.2. and 24.6.5.2. ?  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.
msg244270 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-05-28 05:13
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!
msg244271 - (view) Author: Laura Creighton (lac) Date: 2015-05-28 05:21
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.
msg244272 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2015-05-28 05:24
Yes, that's probably a good thing to do in any case.  I can add it to the Tcl/Tk info page for OS X as at least an interim measure:

https://www.python.org/download/mac/tcltk/
msg244274 - (view) Author: Laura Creighton (lac) Date: 2015-05-28 05:41
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. :)
msg336426 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2019-02-24 03:51
Sorry this issue slipped off my radar.  Terry's new PR 12007 provides a more general documentation update such that the I no longer think the tcltk page should be updated.  Removing myself.
msg336427 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2019-02-24 03:55
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'.
msg336428 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2019-02-24 04:05
New changeset d610116a2e48b55788b62e11f2e6956af06b3de0 by Terry Jan Reedy in branch 'master':
bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)
https://github.com/python/cpython/commit/d610116a2e48b55788b62e11f2e6956af06b3de0
msg336431 - (view) Author: miss-islington (miss-islington) Date: 2019-02-24 04:23
New changeset 38aea4131f57769d2c3d136b09172760db097605 by Miss Islington (bot) in branch '3.7':
bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)
https://github.com/python/cpython/commit/38aea4131f57769d2c3d136b09172760db097605
History
Date User Action Args
2019-02-24 04:56:06terry.reedysetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-02-24 04:23:12miss-islingtonsetnosy: + miss-islington
messages: + msg336431
2019-02-24 04:05:27miss-islingtonsetstage: patch review
pull_requests: + pull_request12039
2019-02-24 04:05:00terry.reedysetmessages: + msg336428
2019-02-24 03:57:02ned.deilysetnosy: - ned.deily
2019-02-24 03:55:57terry.reedysetversions: - Python 2.7
nosy: + terry.reedy, ned.deily

messages: + msg336427

assignee: terry.reedy
stage: patch review -> (no value)
2019-02-24 03:51:45ned.deilysetnosy: - ned.deily
2019-02-24 03:51:27ned.deilysetassignee: ned.deily -> (no value)
versions: + Python 3.7, Python 3.8, - Python 3.4, Python 3.5, Python 3.6
messages: + msg336426
nosy: ned.deily, docs@python, lac
2019-02-24 03:34:39terry.reedysetkeywords: + patch
stage: patch review
pull_requests: + pull_request12038
2015-05-28 05:41:34lacsetmessages: + msg244274
2015-05-28 05:24:52ned.deilysetassignee: docs@python -> ned.deily
messages: + msg244272
components: + IDLE
versions: - Python 3.2, Python 3.3
2015-05-28 05:21:41lacsetmessages: + msg244271
2015-05-28 05:13:47ned.deilysetnosy: + ned.deily
messages: + msg244270
2015-05-28 05:09:07laccreate