terminal/.github/actions/spell-check/whitelist
Leon Liang 7ae34336da
Make most emojis full-width (#5795)
The table that we refer to in `CodepointWidthDetector.cpp` to determine
whether or not a codepoint should be rendered as Wide vs Narrow was
based off EastAsianWidth[1].  If a codepoint wasn't included in this
table, they're considered Narrow. Many emojis aren't specified in the
EAW list, so this PR supplements our table with emoji codepoints from
emoji-data[2] in order to render most, if not all, emojis as full-width. 

There are certain codepoints I've added to the comments (in case we want
to add them officially to the table in the future) that Microsoft
decided to give an emoji presentation even if it's specified as
Narrow/Ambiguous in the EAW list and are _not_ specified in the Unicode
emoji list. These include all of the Mahjong Tiles block, different
direction pencils (✎✐), different pointing index fingers (☜, ☞) among
others. I have no idea if I've captured all of them, as I don't know of
an easy way to detect which are Microsoft specific emojis.

## Validation Steps Performed
I have looked at so many emojis that I dream emoji.

These screenshots aren't encompassing _all_ emoji but I've tried to grab
a couple from all across the codepoint ranges:

Before:
![before](https://user-images.githubusercontent.com/57155886/81445092-2051a980-912d-11ea-9739-c9f588da407d.png)

After:
![after](https://user-images.githubusercontent.com/57155886/81445107-2778b780-912d-11ea-9615-676c2150e798.png)

[1] http://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt
[2] https://www.unicode.org/Public/13.0.0/ucd/emoji/emoji-data.txt

Closes #900
2020-05-08 22:31:09 +00:00
..
alphabet.txt Fix wrapped lines in less in Git for Windows (#5771) 2020-05-08 21:22:09 +00:00
README.md ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
web.txt Fix a few minor typos from #3789 (#5740) 2020-05-04 16:47:29 -05:00
whitelist.txt Make most emojis full-width (#5795) 2020-05-08 22:31:09 +00:00

The contents of each .txt file in this directory are merged together.

  • alphabet is a sample for alphabet related items
  • web is a sample for web/html related items
  • whitelist is the main whitelist -- there is nothing particularly special about the file name (beyond the extension which is important).