Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idle documentation -- what to do if you do not see an underscore. #68498

Closed
lac mannequin opened this issue May 28, 2015 · 9 comments
Closed

Idle documentation -- what to do if you do not see an underscore. #68498

lac mannequin opened this issue May 28, 2015 · 9 comments
Assignees
Labels
3.7 (EOL) end of life 3.8 only security fixes docs Documentation in the Doc dir topic-IDLE type-feature A feature request or enhancement

Comments

@lac
Copy link
Mannequin

lac mannequin commented May 28, 2015

BPO 24310
Nosy @terryjreedy, @miss-islington
PRs
  • bpo-24310: Document IDLE settings dialog font tab sample #12007
  • [3.7] bpo-24310: Document IDLE settings dialog font tab sample (GH-12007) #12008
  • 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

    GitHub fields:

    assignee = 'https://github.com/terryjreedy'
    closed_at = <Date 2019-02-24.04:56:06.943>
    created_at = <Date 2015-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 = <Date 2019-02-24.04:56:06.943>
    user = 'https://bugs.python.org/lac'

    bugs.python.org fields:

    activity = <Date 2019-02-24.04:56:06.943>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2019-02-24.04:56:06.943>
    closer = 'terry.reedy'
    components = ['Documentation', 'IDLE']
    creation = <Date 2015-05-28.05:09:07.450>
    creator = 'lac'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 24310
    keywords = ['patch']
    message_count = 9.0
    messages = ['244267', '244270', '244271', '244272', '244274', '336426', '336427', '336428', '336431']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'docs@python', 'lac', 'miss-islington']
    pr_nums = ['12007', '12008']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue24310'
    versions = ['Python 3.7', 'Python 3.8']

    @lac
    Copy link
    Mannequin Author

    lac mannequin commented May 28, 2015

    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.

    @lac lac mannequin assigned docspython May 28, 2015
    @lac lac mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels May 28, 2015
    @ned-deily
    Copy link
    Member

    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!

    @lac
    Copy link
    Mannequin Author

    lac mannequin commented May 28, 2015

    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.

    @ned-deily
    Copy link
    Member

    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/

    @lac
    Copy link
    Mannequin Author

    lac mannequin commented May 28, 2015

    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. :)

    @ned-deily
    Copy link
    Member

    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.

    @ned-deily ned-deily added 3.7 (EOL) end of life 3.8 only security fixes labels Feb 24, 2019
    @ned-deily ned-deily removed their assignment Feb 24, 2019
    @terryjreedy
    Copy link
    Member

    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'.

    @terryjreedy terryjreedy self-assigned this Feb 24, 2019
    @terryjreedy
    Copy link
    Member

    New changeset d610116 by Terry Jan Reedy in branch 'master':
    bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)
    d610116

    @miss-islington
    Copy link
    Contributor

    New changeset 38aea41 by Miss Islington (bot) in branch '3.7':
    bpo-24310: Document IDLE settings dialog font tab sample (GH-12007)
    38aea41

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes docs Documentation in the Doc dir topic-IDLE type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants