Skip to content

WIP: improve colr emoji detection and testing#620

Open
fundon wants to merge 33 commits into
linebender:mainfrom
fundon:improve-emoji-detection-and-testing
Open

WIP: improve colr emoji detection and testing#620
fundon wants to merge 33 commits into
linebender:mainfrom
fundon:improve-emoji-detection-and-testing

Conversation

@fundon
Copy link
Copy Markdown
Contributor

@fundon fundon commented May 6, 2026

  • Added emoji module and implemented scan_emoji_presentation, its based on emoji-segmenter's Ragel grammar.
  • Added test cases for scanning emoji presentation.

By the way, this PR should help #492.

Related to #617.

@fundon fundon force-pushed the improve-emoji-detection-and-testing branch from a236fbc to 288fa99 Compare May 6, 2026 06:54
@fundon fundon force-pushed the improve-emoji-detection-and-testing branch from 288fa99 to d7b53ec Compare May 6, 2026 07:00
@fundon fundon marked this pull request as draft May 6, 2026 11:44
@fundon
Copy link
Copy Markdown
Contributor Author

fundon commented May 9, 2026

I tried using Ragel/Colm to generate Rust code, but the generated code cannot be used directly. The quality is much worse than C. It has not been updated for a long time.

@fundon fundon marked this pull request as ready for review May 10, 2026 03:46
@fundon
Copy link
Copy Markdown
Contributor Author

fundon commented May 10, 2026

@conor-93 @DJMcNab Please take a look. Thanks.

@nicoburns
Copy link
Copy Markdown
Collaborator

nicoburns commented May 10, 2026

The hand-written C port (https://github.com/chansen/c-emoji) referenced in google/emoji-segmenter#17 may also be worth looking at.

@fundon fundon changed the title improve colr emoji detection and testing WIP: improve colr emoji detection and testing May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants