Tk Source Code

Check-in [5b8a1053]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:canvText-21.1 (bug [220796]): the text, given in points, did not fit in the 200x60 canvas at a high screen resolution, so countPixels read outside of the canvas ("coordinates 9,60 are outside window"). Use a 200x200 canvas and a single M, which also makes counting its pixels fast, and remove the knownBug constraint. Check the two bounds of the ratio separately.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 5b8a105362b83c1b9c1f4502a85caa333481a10b8df0d7fbe677942605f88fca
User & Date: serhiy.storchaka 2026-10-27 17:56:02.995
References
2026-10-27
18:02 • Ticket [220796ff] -stipple option for canvas text item disrupts positioning, b status still Open with 3 other changes artifact: e0917a92 user: serhiy.storchaka
Context
2026-10-27
18:06
Merge fork. check-in: bcd61caf user: serhiy.storchaka tags: trunk, main
17:56
canvText-21.1 (bug [220796]): the text, given in points, did not fit in the 200x60 canvas at a high screen resolution, so countPixels read outside of the canvas ("coordinates 9,60 are outside window"). Use a 200x200 canvas and a single M, which also makes counting its pixels fast, and remove the knownBug constraint. Check the two bounds of the ratio separately. check-in: 5b8a1053 user: serhiy.storchaka tags: trunk, main
16:47
Fix [220796]: -stipple option for canvas text item disrupts positioning. Testcase not complete yet check-in: fde93bd2 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/canvText.test.