Tk Source Code

Timeline
Login

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

3 check-ins related to "x11-shaper-replacement-char"

2026-10-08
19:46
Fix [6f054bf319]: X11 with bidi: a string consisting only of U+FFFD hung text layout check-in: d1ae7401 user: jan.nijtmans tags: trunk, main
2026-10-07
18:06
Fix [6f054bf319]: X11 with bidi: a string consisting only of U+FFFD hung text layout.

The X11 shaper dropped U+FFFD REPLACEMENT CHARACTER like the C0 and C1 control characters, so such a string produced no glyphs. Tk_MeasureChars() then measured nothing, and Tk_ComputeTextLayout() and the text widget looped forever, or used the width of a previously shaped string. U+FFFD is a normal printable character; invalid UTF-8 is already skipped before. Tests font-9.9 and font-24.16. closed check-in: 2716fc1b user: serhiy.storchaka tags: x11-shaper-replacement-char

13:48
Fix [4a25f3]: Embedded application exits with BadDrawable when its container is destroyed check-in: dd18288b user: jan.nijtmans tags: trunk, main