Reduced memory footprint, skin tones and more#10
Open
COM8 wants to merge 23 commits intoneosmart:masterfrom
Open
Reduced memory footprint, skin tones and more#10COM8 wants to merge 23 commits intoneosmart:masterfrom
COM8 wants to merge 23 commits intoneosmart:masterfrom
Conversation
Unicode 12.0
Contributor
|
I'd love to see this PR merged, especially because of the skin tone and component emoji on their own. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
stringto enum for the Emoji groupstatic readonlySkinTonespropertyHasGlyphto be also valid for multi code point Emoji like "🧑🏼" or "✋🏼".AnimalsAndNatureorPeopleAndBody)Documentation:
I updated the
README.mddocumentation for the newSingleEmojiattributes.WARNING: It still has my "fork from" header in it. I will remove it as soon this PR is ready to be merged.
SkinTone[] SkinTones: A list ofSkinToneobjects that represent the current emoji. Example:{ SkinTone.NONE }for "😀" ,{ SkinTone.DARK }for "👨🏿⚕️" and{ SkinTone.DARK, SkinTone.MEDIUM }for "🧑🏿🤝🧑🏽". They are in the same order like in the definition of the emoji (Sequence).SkinTone[] NoSkinTones: If the emoji does not has a specific skin tone (aka. yellow)SkinTonespoints to this list.Group Group: TheGroupof the emoji. Example:SMILEYS_AND_EMOTIONfor "😀" andPEOPLE_AND_BODYfor "👨🏿⚕️"string Subgroup: The subgroup name of the emoji. Example:"face-smiling"for "😀" and"person-role"for "👨🏿⚕️"bool HasGlyph: Is there a glyph for the emoji defined in theSegoe UI Emojifont.