mewj on Nostr: Yeah that’s what I’m doing for emoji as well. When rendering text I check through ...
Yeah that’s what I’m doing for emoji as well. When rendering text I check through the text for emoji Unicode and pass all the regular text to the default renderer of NanoVG, and for the emojis I have a texture atlas. If the emojis not already in the atlas I call out to CoreText on iOS to render them for me
Published at
2023-07-13 15:51:18Event JSON
{
"id": "7fa8d183534c3d4e39b12e9515d076ff7c5bcd3e3b75c1601bf010621af60707",
"pubkey": "489ac583fc30cfbee0095dd736ec46468faa8b187e311fda6269c4e18284ed0c",
"created_at": 1689263478,
"kind": 1,
"tags": [
[
"e",
"4a01fb67420666c852152a8912103b1db3e6edd2cda7f5df82adfb72970daed8"
],
[
"e",
"72be7927928f44fba01ea802db5ed402621fe1524fdf39349804c36f7ac15898"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "Yeah that’s what I’m doing for emoji as well. When rendering text I check through the text for emoji Unicode and pass all the regular text to the default renderer of NanoVG, and for the emojis I have a texture atlas. If the emojis not already in the atlas I call out to CoreText on iOS to render them for me",
"sig": "70c6e5adf2eede0ad9cc8e18dfbc783dd8e9f2a66efd230891ceae8babe3dd63271344d2526737eedb6579d2317548b84df4f7d46d7b3291fe27aade42c0c14a"
}