|
2026-11-08
| ||
| 20:39 | • Ticket [a4c7eeaf63] TIP 621 glyph clustering for tcl status still Open with ... artifact: cf3cb88330 user: dkf | |
|
2026-10-29
| ||
| 15:30 | • Ticket [a4c7eeaf63]: 4 changes artifact: 94ba197e75 user: oehhar | |
| 11:48 | • Ticket [a4c7eeaf63]: 3 changes artifact: 4f740c4904 user: apnadkarni | |
|
2026-10-28
| ||
| 15:56 | • Ticket [a4c7eeaf63]: 4 changes artifact: a49ec1c82b user: oehhar | |
| 15:47 | • Ticket [a4c7eeaf63]: 3 changes artifact: e6d5c91cd0 user: apnadkarni | |
|
2026-06-09
| ||
| 13:51 | • Ticket [a4c7eeaf63]: 4 changes artifact: 54d793b8b8 user: oehhar | |
| 10:41 | • Ticket [a4c7eeaf63]: 3 changes artifact: 49b013f810 user: apnadkarni | |
|
2025-08-17
| ||
| 14:29 | • Ticket [a4c7eeaf63]: 3 changes artifact: b80e65ad5d user: juliannoble2 | |
|
2024-12-03
| ||
| 06:18 | • Ticket [a4c7eeaf63]: 4 changes artifact: e3913603c1 user: oehhar | |
|
2024-12-02
| ||
| 16:00 | • New ticket [a4c7eeaf63]. artifact: e511cf75cc user: juliannoble2 | |
TIP 621 glyph clustering for tcl
I'd love to have the grapheme clustering functionality of tk::startOfcluster etc for use on the console or in text processing with Tclsh distributions/zipkits that don't have Tk. Can this somehow be brought across without duplication of code?
Yes, it would be great to have the icu functions moved to TCL.
Harald
I see Tip 726 uses the utf8proc library which has a function utf8proc_decompose This looks to me like it may provide a usable way to determine grapheme cluster boundaries. Perhaps this would be a candidate for inclusion in the 726 unicode ensemble - but I guess it would require a separate tip.
Dear Julian, as you see, it is a question of doing, as nobody took the initiative.
So, a proposal implementation and TIP is required.
Basically, the implementation is to be copied/removed from Tk and moved to Tcl...
ICU is also used for testing in TCL.
Thanks for all, Harald
See TIP 756
Available in 9.1 as tcl::unsupported::grapheme command. I'd love some feedback based on real world usage.
Is there any possible use in Tk? I often read bugs, that only half of a glyph a cursor is positioned or similar. We probably need a C interface there...
Thanks, Harald
Yes, but I can't make up my mind on what the C interface should look like.
With respect to Tk, it may be that a lot of the cursor movement et al happens at the script level, not in C. Could be wrong but if I'm right, experimentation with tcl::unsupported::grapheme should be feasible.
We have to throw some Netherland style cookies on the way to attract Jan ;-)