Possible regression of emoji rendering since 0.6 #4961

Closed
opened 2026-01-31 00:01:38 +00:00 by claunia · 15 comments
Owner

Originally created by @zadjii-msft on GitHub (Nov 13, 2019).

Originally assigned to: @DHowett-MSFT on GitHub.

@DHowett-MSFT my man. I'm seeing regression on current master 306e751639

图片

Originally posted by @skyline75489 in https://github.com/microsoft/terminal/issues/3546#issuecomment-553266974

Originally created by @zadjii-msft on GitHub (Nov 13, 2019). Originally assigned to: @DHowett-MSFT on GitHub. @DHowett-MSFT my man. I'm seeing regression on current master https://github.com/microsoft/terminal/commit/306e75163929161b130872dcae890686da57790d ![图片](https://user-images.githubusercontent.com/4710575/68740302-ba74e100-0625-11ea-8ca4-c02fbf7cc099.png) _Originally posted by @skyline75489 in https://github.com/microsoft/terminal/issues/3546#issuecomment-553266974_
Author
Owner

@zadjii-msft commented on GitHub (Nov 13, 2019):

I'm going to pre-emptively mark this as blocking. We can discuss in triage if this isn't that bad of a regression.

UNFORTUNATELY, I'm not seeing this at all myself :( Black is 0.6, purple is master:
image

@zadjii-msft commented on GitHub (Nov 13, 2019): I'm going to pre-emptively mark this as blocking. We can discuss in triage if this isn't that bad of a regression. UNFORTUNATELY, I'm not seeing this at all myself :( Black is 0.6, purple is master: ![image](https://user-images.githubusercontent.com/18356694/68772523-99919900-05ef-11ea-8d5a-0b95ae6a4a01.png)
Author
Owner

@skyline75489 commented on GitHub (Nov 13, 2019):

Could it be my locale setting? I'm in zh-CN locale.

@skyline75489 commented on GitHub (Nov 13, 2019): Could it be my locale setting? I'm in zh-CN locale.
Author
Owner

@zadjii-msft commented on GitHub (Nov 13, 2019):

@skyline75489 That's the first thing I thought of. I'd really hate if a CRT change like that would cause this, but hey, who knows.

Just to try and rule out other factors, could you try the following python script?


print('''\
Combining Diacritics    | [a\u0300\u0304]
Polytonic Greek         | [ᾊ] [Α\u0313\u0300\u0345]
Ideographic Variation   | [東京都葛\U000E0101飾区] [奈良県葛\U000E0100城市]
Composite Hangul        | [\u1100\u116A\u11B3]
Combining Dakuten       | [か\u309A]
Emoji vs Text           | [\u2602] [\u2602\uFE0E] [\u2602\uFE0F]
Emoji                   | [\U0001F469]
Emoji with Skin Tone    | [\U0001F469\U0001F3FB]
Emoji Variation and ZWJ | [\U0001F469\U0001F3FB\u200D\U0001F4BB]
''')

That should be the same as the Node.JS one - I just want to make sure to rule Node out in this case.

@zadjii-msft commented on GitHub (Nov 13, 2019): @skyline75489 That's the first thing I thought of. I'd really hate if a CRT change like that would cause this, but hey, who knows. Just to try and rule out other factors, could you try the following python script? ```python print('''\ Combining Diacritics | [a\u0300\u0304] Polytonic Greek | [ᾊ] [Α\u0313\u0300\u0345] Ideographic Variation | [東京都葛\U000E0101飾区] [奈良県葛\U000E0100城市] Composite Hangul | [\u1100\u116A\u11B3] Combining Dakuten | [か\u309A] Emoji vs Text | [\u2602] [\u2602\uFE0E] [\u2602\uFE0F] Emoji | [\U0001F469] Emoji with Skin Tone | [\U0001F469\U0001F3FB] Emoji Variation and ZWJ | [\U0001F469\U0001F3FB\u200D\U0001F4BB] ''') ``` That should be the same as the Node.JS one - I just want to make sure to rule Node out in this case.
Author
Owner

@skyline75489 commented on GitHub (Nov 13, 2019):

I'm seeing the same thing with python.

图片

@skyline75489 commented on GitHub (Nov 13, 2019): I'm seeing the same thing with python. ![图片](https://user-images.githubusercontent.com/4710575/68774414-08aad400-0668-11ea-8ece-3eca6f6730ac.png)
Author
Owner

@skyline75489 commented on GitHub (Nov 13, 2019):

As long as I revert ddcc06e911 (even on master), everything is back to normal. Well not really “normal” but relatively “normal”. You got the idea.

@skyline75489 commented on GitHub (Nov 13, 2019): As long as I revert ddcc06e911a18250c8544c7ea83011451e8256a2 (even on master), everything is back to normal. Well not really “normal” but relatively “normal”. You got the idea.
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 13, 2019):

@skyline75489 what if you only revert the _VC_Target_Library_Platform part?

@DHowett-MSFT commented on GitHub (Nov 13, 2019): @skyline75489 what if you only revert the `_VC_Target_Library_Platform` part?
Author
Owner

@miniksa commented on GitHub (Nov 13, 2019):

You've got to be kidding me. The App CRT is different by locale than the Desktop CRT? :|

@miniksa commented on GitHub (Nov 13, 2019): You've got to be kidding me. The App CRT is different by locale than the Desktop CRT? :|
Author
Owner

@skyline75489 commented on GitHub (Nov 14, 2019):

Would it be even more weird if I say that DynamicLibrary is the key? I change winconpty back to DynamicLibrary and it works. Both _VC_Target_Library_Platform and onecoreuap_apiset.lib are seemingly irrelevant.

@skyline75489 commented on GitHub (Nov 14, 2019): Would it be even more weird if I say that `DynamicLibrary` is the key? I change `winconpty` back to `DynamicLibrary` and it works. Both `_VC_Target_Library_Platform` and `onecoreuap_apiset.lib` are seemingly irrelevant.
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 14, 2019):

Of course! This is the 19H1 emoji bug! @miniksa we aren’t linking the right CreatePseudoConsole. It’s probably the linkage declspec...

@DHowett-MSFT commented on GitHub (Nov 14, 2019): Of course! This is the 19H1 emoji bug! @miniksa we aren’t linking the right CreatePseudoConsole. It’s probably the linkage declspec...
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 14, 2019):

We can’t repro it locally because the Vb conhost has the fixes.

@DHowett-MSFT commented on GitHub (Nov 14, 2019): We can’t repro it locally because the Vb conhost has the fixes.
Author
Owner

@skyline75489 commented on GitHub (Nov 14, 2019):

Glad you know where the problem is. Guess now I don't need to change my PC's locale to en-US 😄

@skyline75489 commented on GitHub (Nov 14, 2019): Glad you know where the problem is. Guess now I don't need to change my PC's locale to en-US 😄
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 14, 2019):

I’m assigning myself because I have the most context.

@DHowett-MSFT commented on GitHub (Nov 14, 2019): I’m assigning myself because I have the most context.
Author
Owner

@JustinGrote commented on GitHub (Nov 15, 2019):

Potentially related, some emojis are super tiny on my system in the console but fine in the titlebar? (They are fine in VSCode et. al.)
image

Just checked and I don't think it's a DPI issue, I dropped mine down to 100% from 175% and same issue.

@JustinGrote commented on GitHub (Nov 15, 2019): Potentially related, some emojis are super tiny on my system in the console but fine in the titlebar? (They are fine in VSCode et. al.) ![image](https://user-images.githubusercontent.com/15258962/68920906-addab080-072b-11ea-9f02-598333a2012c.png) Just checked and I don't think it's a DPI issue, I dropped mine down to 100% from 175% and same issue.
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 16, 2019):

@JustinGrote that one is #900 😄

@DHowett-MSFT commented on GitHub (Nov 16, 2019): @JustinGrote that one is #900 :smile:
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 16, 2019):

(also, we don't support VS16/U+FE0F for a bunch of reasons that are being covered in active threads about unicode (#1472))

@DHowett-MSFT commented on GitHub (Nov 16, 2019): (also, we don't support VS16/`U+FE0F` for a bunch of reasons that are being covered in active threads about unicode (#1472))
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4961