|
2026-09-26
| ||
| 13:12 | • Ticket [7579c335] Text widget: wrong bbox widths for non-ASCII characters with bidi text rendering status still Closed with 3 other changes artifact: 3983272e user: serhiy.storchaka | |
|
2026-09-25
| ||
| 14:10 | • Closed ticket [7579c335]. artifact: 8620e3ae user: jan.nijtmans | |
| 14:08 | Fix [7579c335f1]: Text widget: wrong bbox widths for non-ASCII characters with bidi text rendering check-in: 5299492c user: jan.nijtmans tags: trunk, main | |
|
2026-09-24
| ||
| 11:28 | • Ticket [7579c335] Text widget: wrong bbox widths for non-ASCII characters with bidi text rendering status still Open with 3 other changes artifact: 65fbb141 user: serhiy.storchaka | |
| 11:25 | • Closed ticket [1185640f]: Strange word and line selection in the text widget plus 4 other changes artifact: f430e841 user: serhiy.storchaka | |
| 11:24 | • New ticket [7579c335] Text widget: wrong bbox widths for non-ASCII characters with bidi text rendering. artifact: 22a06ae1 user: serhiy.storchaka | |
| Ticket UUID: | 7579c335f14c9ed4272dbc6bf672c528677b6780 | |||
| Title: | Text widget: wrong bbox widths for non-ASCII characters with bidi text rendering | |||
| Type: | Bug | Version: | 9.1b1 | |
| Submitter: | serhiy.storchaka | Created on: | 2026-09-24 11:24:10 | |
| Subsystem: | 18. [text] | Assigned To: | jan.nijtmans | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2026-09-26 13:12:36 | |
| Resolution: | Fixed | Closed By: | jan.nijtmans | |
| Closed on: | 2026-09-25 14:10:22 | |||
| Description: |
With the bidi text rendering in 9.1 (default X11 build),
pack [text .t -font {Helvetica 14}]
.t insert end "Доброго ранку, світе"
update
# width of each character: bbox vs. font measure
11 of the 20 characters differ; most get the width of the previous character (Д:1/13 о:13/11 г:11/7 …). 9.0 and a 9.1 build with
| |||
| User Comments: |
serhiy.storchaka added on 2026-09-26 13:12:36:
textDisp-25.2 fails on macOS CI (both Aqua and X11 with --disable-bidi) with result 1.14: the bbox width of the space after the comma differs from font measure of the space. Proposed fix in branch textdisp-bbox-test-macos: the test checks that the bbox of each character ends where the next one begins, without font measure. It still fails without the fix (for 10 of the characters). jan.nijtmans added on 2026-09-25 14:10:22: Fixed [5299492cd8c22dc4|here] Many thanks! serhiy.storchaka added on 2026-09-24 11:28:54:
Fix on text-bbox-multibyte: | |||
