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) *  |
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) *  |
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) *  |
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) *  |
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) *  |
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 |
|
|