Tk Source Code

Check-in [8d30dad3]
Login

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

Overview
Comment: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.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | nab-win-rtl-measure
Files: files | file ages | folders
SHA3-256: 8d30dad374f7858314ddab301dc518daf29333f50fb5245e7177c1a78c6615ef
User & Date: nab 2026-10-14 12:47:09.143
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
15:04
Fix [ecfcec3a40]: on Windows, a range of right-to-left text is measured with the leading edge of its characters, not one character too wide (test textDisp-37.3). check-in: a9090d02 user: nab tags: trunk, main
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
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/textDisp.test.