Tk Source Code

Check-in [13c5fdc0]
Login

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

Overview
Comment:Fix [e8d4c8a577]: X11 (HarfBuzz/SheenBidi font backend): [font configure] of a font in use leaks the old font
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 13c5fdc004693a241214e409b7f792c2c314db0b83c9ede49e6a473141dbe2ed
User & Date: serhiy.storchaka 2026-10-06 11:52:05.360
References
2026-10-06
11:53 • Ticket [e8d4c8a5] X11 (HarfBuzz/SheenBidi font backend): font configure of a font in use leaks the old font status still Open with 3 other changes artifact: abcf26ac user: serhiy.storchaka
Context
2026-10-06
14:11
Test unixbutton-3.1: make each label huge in one direction only, and enable the test again.

A widget huge in both directions needs a 32767x32767 pixmap, which takes 4 GB in Xvfb and 8 GB of GPU buffers in Xwayland, and locked up some systems, so the test was disabled with the nonPortable constraint. Labels huge in one direction test the same limits (pixmaps larger than 32767, sizes larger than 65535) with pixmaps of a few MB. closed check-in: 5c892c05 user: serhiy.storchaka tags: unixbutton-huge-one-direction

13:10
Improved the fix for [80213d1b1c]: text widget's see subcommand can take many seconds. check-in: 01c63d0a user: csaba tags: trunk, main
11:52
Fix [e8d4c8a577]: X11 (HarfBuzz/SheenBidi font backend): [font configure] of a font in use leaks the old font check-in: 13c5fdc0 user: serhiy.storchaka tags: trunk, main
11:36
Fix [d08538fd78]: Regression in 9.1: wrapped text counts spaces at end of line, splits words, breaks after leading spaces (X11 with bidi, Windows) check-in: 123cc66f user: serhiy.storchaka tags: trunk, main
2026-10-04
10:39
Fix [e8d4c8a577]: X11 (HarfBuzz/SheenBidi font backend): [font configure] of a font in use leaks the old font. TkpGetFontFromAttributes re-initialized a font in place without releasing its old contents; also do not destroy the pattern twice on the fallback path, and do not use the font id to detect a re-used font record. closed check-in: 7ae80eeb user: serhiy.storchaka tags: x11-bidi-font-reconfigure-leak
Changes
Unified Diff Side-by-Side Diff Patch
Changes to changes.md.
Changes to unix/tkUnixBidiFont.c.