Tk Source Code

Check-in [fde93bd2]
Login

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

Overview
Comment:Fix [220796]: -stipple option for canvas text item disrupts positioning. Testcase not complete yet
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: fde93bd2488ea2b3356c8dc7d35c5cc44c84ae967361f77e34dac1f25fc15eae
User & Date: jan.nijtmans 2026-10-27 16:47:37.940
Original Comment: Fix [220796]: -stipple option for canvas text item disrupts positioning. Testcase now complete yet
References
2026-11-02
16:51 • Closed ticket [220796ff]: -stipple option for canvas text item disrupts positioning, b plus 7 other changes artifact: ad9b4550 user: nemethi
Context
2026-10-27
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
17:18
Fix [cc736f8692]: Ctrl+Left in text skips a one-character word before the cursor check-in: 11d88f8a user: jan.nijtmans 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
16:30
Fix [220895]: Canvas inconsistently draws lines on Windows check-in: 53abc363 user: jan.nijtmans tags: trunk, main
2026-10-19
17:10
Merge main. closed check-in: 221311c8 user: serhiy.storchaka tags: win-text-stipple
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to tests/canvText.test.
Changes to win/tkWinDraw.c.
Changes to win/tkWinFont.c.
Changes to win/tkWinInt.h.