| Ticket UUID: | ecfcec3a4025495d70ab90cbab549bebf57d6b7a | |||
| Title: | Windows: a range of right-to-left text is measured one character too wide | |||
| Type: | Bug | Version: | trunk | |
| Submitter: | nab | Created on: | 2026-10-14 12:49:40 | |
| Subsystem: | 47. Win Fonts | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Important | |
| Status: | Closed | Last Modified: | 2026-10-14 15:05:18 | |
| Resolution: | Fixed | Closed By: | nab | |
| Closed on: | 2026-10-14 15:05:18 | |||
| Description: |
On Windows,
The bbox of the first letter is as wide as two letters, each next letter has the width of the letter after it, and the last one is 1 pixel wide (the zero-width fallback of Cause: Branch nab-win-rtl-measure, from trunk b6303a5a40: the fix (07248aee92) and the test textDisp-37.3 (8d30dad374): the bbox of each letter of a Hebrew line has the width of the letter, within one pixel. Red on Windows without the fix; textDisp, text, winFont, font and entry give the same results with and without it otherwise (Windows 11, clang UCRT64, 200 % scaling). Related: 1b22c74dc7 (a label with Hebrew text in Courier hangs, branch win-script-not-in-font) also changes | |||
| User Comments: |
nab added on 2026-10-14 15:05:18:
Merged into trunk [a9090d02e3] with Kevin Walzer's go. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki