Skip to content
Tcl Source Code History Of Ticket 185712c861
Login

History Of Ticket 185712c861

Artifacts Associated With Ticket 185712c861

  1. Ticket change [7007dbc553] (rid 151570) by anonymous on 2017-01-18 10:11:21:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The priority should possibly be set to something that would correspond to "annoying!".
      
      Problem description:
      The lower few points of fonts are missing, at least for some (fonts and) sizes.
      
      Font used:                     DejaVu Sans Mono
      Problem visible at sizes:      4, 7, 10
      Lower line(s) disappear for:   '_', not so visible for g,j,p,q and y 
      
      OS:   Linux/Ubuntu 16.10 (I do not think the problem was present in the 16.04 version)
      HW:   Lenovo y70-70 Touch
      
      The impact is less for large fonts as there are more points available.
      
      I have confirmed that wish itself (or sub-functionality) and not git-gui is to blame using the console.tcl found at <http://wiki.tcl.tk/786> referenced from <http://wiki.tcl.tk/36843>.  I have also verified that the problem is not found in Libre Office Writer for the same fonts and sizes. 
      
      Preliminay analysis:
      It seems that the lower line(s) are missing when the font size, n, devided by 3 gives m + 1/3 and is rounded down to m. (integer division).  If the value had been rounded up, the problem would probably not appear/exist.
      
      Workaround alternatives:
      - Change font.
      - Change font size.
      - Stop using underscores.
      
      Discovery:
      I have been using wish through git-gui for some years.  When comparing versions using git-gui I noticed that the underscores were missing and the code looked very strange.  If this had been normal texts (like from a book etc) the problem would not be so severe.  But as I am a C programmer, underscores (_) are often used to separate words in a variable or function name etc.  This would therefore apply to other C programmers as well.
      
      I believe the problem appeared when changing from Ubuntu 16.04 to Ubuntu 16.10.
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "d3e8c75ed2c619c7c59e6c4e2d9cb99db1625718"
    10. resolution initialized to: "None"
    11. severity initialized to: "Cosmetic"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "None"
    15. title initialized to: "Font height calculation seems to be wrong"
    16. type initialized to: "Bug"
  2. Ticket change [a260f2cb31] (rid 151571) by sebres on 2017-01-18 11:51:39:

    1. closedate changed to: "2457771.99420307"
    2. closer changed to: "sebres"
    3. icomment:
      Here is a wrong place for this [tcl]. 
      
      Please reopen this ticket in [tk] (http://core.tcl.tk/tk/tktnew).
      
    4. login: "sebres"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"