Tk Source Code

Check-in [07248aee]
Login

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

Overview
Comment:Windows: Tk_MeasureCharsInContext measured a range of right-to-left text one character too wide, and the last character of a run with no width: GetVisualXForLogicalIndex took the trailing edge of the character at a boundary instead of its leading edge. Test textDisp-37.3.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | nab-win-rtl-measure
Files: files | file ages | folders
SHA3-256: 07248aee927d423e488ccf0e6269fc06acdc24126528504121182904c886bd82
User & Date: nab 2026-10-14 12:35:57.005
References
2026-10-14
12:49 • New ticket [ecfcec3a] Windows: a range of right-to-left text is measured one character too wide. artifact: ecbe5f71 user: nab
Context
2026-10-14
12:47
textDisp-37.3: check the letters only. When the widget font has no Hebrew, the space between the words is shaped with them by another font. closed check-in: 8d30dad3 user: nab tags: nab-win-rtl-measure
12:35
Windows: Tk_MeasureCharsInContext measured a range of right-to-left text one character too wide, and the last character of a run with no width: GetVisualXForLogicalIndex took the trailing edge of the character at a boundary instead of its leading edge. Test textDisp-37.3. check-in: 07248aee user: nab tags: nab-win-rtl-measure
08:34
canvText-22.1: constrained by aquaKnownBug until ticket [271f61c768] is fixed. check-in: b6303a5a user: serhiy.storchaka tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/textDisp.test.
Changes to win/tkWinFont.c.