mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
In the common case of text rendering rather than getting the emoji bitmap for a fixed number of code points, we don't know how many code points make one emoji. As far as I can tell, the longest ones are up to ten code points, so we try to consume all of them and do a lookup during each iteration, and return the emoji for the longest chain of code points. Quite basic and definitely room for improvement, but it works!
3.0 KiB
3.0 KiB