Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert some emoji back to narrow width #5866

Merged
3 commits merged into from
May 12, 2020
Merged

Revert some emoji back to narrow width #5866

3 commits merged into from
May 12, 2020

Conversation

leonMSFT
Copy link
Contributor

@leonMSFT leonMSFT commented May 12, 2020

A couple of codepoints, namely the card suites, male and female signs,
and white and black smiling faces were changed to have a two-column
width as part of #5795 since they were specified as emoji in Unicode's
emoji list v13.0[1].

These particular glyphs also show up in some of the most fundamental
code pages, such as CP437[2] and WGL4[3]. We should
not be touching the width of the glyphs in these codepages, as suddenly
changing a long-time-running narrow glyph to use two-columns all of a
sudden will surely break (and has already broken) things.

[1] https://www.unicode.org/Public/13.0.0/ucd/emoji/emoji-data.txt
[2] https://en.wikipedia.org/wiki/Code_page_437
[3] https://en.wikipedia.org/wiki/Windows_Glyph_List_4

Closes #5822

@ghost ghost added Area-Server Down in the muck of API call servicing, interprocess communication, eventing, etc. Impact-Compatibility Sure don't work like it used to. Impact-Correctness It be wrong. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Conhost For issues in the Console codebase Product-Terminal The new Windows Terminal. labels May 12, 2020
Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm cool with this. Thank you for doing all the heavy lifting and digging through WGL4/CP437.

@j4james Does this seem like a reasonable set of glyphs for revert? Within the constraints of "some people really do want emoji, and I don't know why they want it in their terminal", that is.

Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changing it to wide would only cause destruction

🤣

@j4james
Copy link
Collaborator

j4james commented May 12, 2020

Yeah, this looks like it covers all the ones I was concerned about. I'm still a little worried that we may not be in sync with other terminals, but we'll see how that goes.

@DHowett-MSFT
Copy link
Contributor

@msftbot merge this in 1 minutes

@ghost ghost added the AutoMerge Marked for automatic merge by the bot when requirements are met label May 12, 2020
@ghost
Copy link

ghost commented May 12, 2020

Hello @DHowett-MSFT!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Tue, 12 May 2020 19:37:48 GMT, which is in 1 minute

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@ghost ghost merged commit cf62922 into master May 12, 2020
@ghost ghost deleted the dev/lelian/emojitoobig branch May 12, 2020 19:38
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Server Down in the muck of API call servicing, interprocess communication, eventing, etc. AutoMerge Marked for automatic merge by the bot when requirements are met Impact-Compatibility Sure don't work like it used to. Impact-Correctness It be wrong. Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Conhost For issues in the Console codebase Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Card suite Unicode characters are the wrong width
4 participants