[Tcl-bugs] [Tk] (bll) tkt (Open): text: textDisp-3.1 : font agnostic

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Tcl-bugs] [Tk] (bll) tkt (Open): text: textDisp-3.1 : font agnostic

akupries
Automated mail by fx, on behalf of [hidden email]

Ticket Change [e7f344637c90b5fba01d1a19615bc2a178d612fc]
  [text: textDisp-3.1 : font agnostic]
  By      bll
  For     Tk
  On      2017-07-05T04:09:55.497
  Details https://core.tcl.tk/tk/tinfo?name=e7f344637c90b5fba01d1a19615bc2a178d612fc
  Ticket  https://core.tcl.tk/tk/tktview/72e9ddba21cbe29738a284fd23756cb055a630f4

Changed Fields
  icomment: The results from Mac OS X.

            The big (fixed font) character width is 15, but Mac OS X returns 14
            for the width for the bbox.   The dlineinfo data is also off by two
            pixels.

            Not sure what's going on here.

            ---- textDisp-3.1 start

            ==== textDisp-3.1 different character sizes FAILED  ==== Contents of
            test case:

            .t configure -wrap word  .t delete 1.0 end  .t insert end "Some sample
            text, including both large\ "  .t insert end "characters and\ small\ "
            .t insert end "abc\ d\ e\ fghij"  .t tag add bigfix 1.5 1.10  .t tag
            add bigfix 2.11 2.14  list [.t bbox 1.1] [.t bbox 1.6] [.t dlineinfo
            1.0] [.t dlineinfo 3.0]

            ---- Result was:  {12 15 7 14} {55 5 14 27} {5 5 122 27 20} {5 87 35
            14 10}  ---- Result should have been (exact matching):  {12 15 7 14}
            {55 5 15 27} {5 5 124 27 20} {5 87 35 14 10}
  login:    bll

------------------------------------------------------------
See Tcl/Tk development @ http://core.tcl.tk/
------------------------------------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-bugs