summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Emoji.h
AgeCommit message (Collapse)Author
2022-04-09LibGfx: Move other font-related files to LibGfx/Font/Simon Wanner
2022-02-23LibGfx: Add Emoji::emoji_for_code_point_iterator(Utf8CodePointIterator&)Linus Groh
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!
2022-02-23LibGfx: Add Emoji::emoji_for_code_points(Span<u32> const&)Linus Groh
Not all emojis are just one code point, so the existing API is not sufficient: Emoji::emoji_for_code_point(u32). The file name for such emojis is simply each U+XXXX separated by an underscore.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling