Tk Source Code

Check-in [dcc48be6]
Login

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

Overview
Comment:Make textDisp-25.2 independent of font measure: check that the bbox of each character ends where the next one begins. It failed on macOS for the space after the comma, where the bbox width differed from the width measured separately.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | textdisp-bbox-test-macos
Files: files | file ages | folders
SHA3-256: dcc48be6cde4659882d51845722005a403e48153f551a0befe1fd48e8ea27050
User & Date: serhiy.storchaka 2026-09-26 13:09:53.826
Context
2026-09-26
17:52
Merge textdisp-bbox-test-macos and focus-test-xfocus branches, both test fixes only. textDisp-25.2 still fails with --disable-aqua, therefore - for now - marked nonportable. See: https://github.com/nijtmans/tk/actions/runs/36259052664/job/108451236976. Fix font-17.5 testcase, due to different expectation. check-in: db7cd226 user: jan.nijtmans tags: trunk, main
13:09
Make textDisp-25.2 independent of font measure: check that the bbox of each character ends where the next one begins. It failed on macOS for the space after the comma, where the bbox width differed from the width measured separately. closed check-in: dcc48be6 user: serhiy.storchaka tags: textdisp-bbox-test-macos
2026-09-25
17:16
More bools in tkFont.c check-in: bd65081b user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/textDisp.test.