Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2022-05-25
09:13 • Closed ticket [f160f9f982]: macOS Aqua : Emoji does not display anymore after TI... artifact: 46ded9b25e user: jan.nijtmans
09:05
Fix [f160f9f982]: macOS Aqua : Emoji does not display anymore after TIP #622 check-in: b96128c31b user: jan.nijtmans tags: core-8-branch
2022-05-24
08:30 • Ticket [f160f9f982] macOS Aqua : Emoji does not display anymore after TIP #622</... artifact: d75efa6575 user: jan.nijtmans
07:33 • Ticket [f160f9f982]: 3 changes artifact: 073cde1f3c user: sl1200mk2
06:53 • Pending ticket [f160f9f982]. artifact: 8d65e6bed2 user: jan.nijtmans
06:50
Fix for [f160f9f982]: macOS Aqua : Emoji does not display anymore after TIP #622. (Actually, X11 dis... check-in: 1e13161bcd user: jan.nijtmans tags: bug-f160f9f982
2022-05-23
22:24 • Ticket [f160f9f982] macOS Aqua : Emoji does not display anymore after TIP #622</... artifact: 3eadf2580b user: jan.nijtmans
09:17 • Ticket [f160f9f982]: 3 changes artifact: beffac90ae user: jan.nijtmans
08:50 • New ticket [f160f9f982]. artifact: b9733453f3 user: sl1200mk2

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:21
  • 1e13161bcdFix 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.