macOS Aqua : Emoji does not display anymore after TIP #622
Closed / Fixedf160f9f982e35beb8789431b59e1108edcaefc7eCreated 5 years agoUpdated 5 years ago
Descriptionplain2022-05-23 08:50:33
Hi Jan, for the Tk part I'm using mac_styles_87 branch + glyph_indexing2 before TIP #622 implementation in TCL, Emojis were displaying fine. Starting with https://core.tcl-lang.org/tcl/info/e00aaebbbf06adc0, a square is displayed in lieu of Emojis (for both release and debug version of TCL). is there's something I'm missing for the TK part? best regards, Nicolas
Referenced by2
b96128c31bFix [f160f9f982]: macOS Aqua : Emoji does not display anymore after TIP #622 check-in2022-05-25 09:05:211e13161bcdFix for [f160f9f982]: macOS Aqua : Emoji does not display anymore after TIP #622. (Actually, X11 displayed wrong too!) check-in2022-05-24 06:50:32
jan.nijtmans Ticket [f160f9f982]: 3 changes
[History diff]2022-05-23 09:17:16
jan.nijtmanswiki2022-05-23 22:24:42
Yes, I can reproduce the problem. Occurs with plain core-8-branch too, but (strangely enough) not when compiling with --disable-shared.
Investigating .....
jan.nijtmanswiki2022-05-24 06:53:13
There's a fix now: [1e13161bcd4ca7e8]. Testing ......
sl1200mk2plain2022-05-24 07:33:02
yup it's working now. many thanks, ++
jan.nijtmanswiki2022-05-24 08:30:36
Explanation: The problem was in the function Tcl_NumUtfChars(): Tk called the UTF-32 version of this function, but it expected the UTF-16 version. Some other functions had the same problem (but those are not used by Tk)
jan.nijtmanswiki2022-05-25 09:13:17
Merged to core-8-branch now.
Closing
Log in (anonymous is fine) to add a comment.