Damus
Bartholomew Joyce⚡️🇫🇷 · 151w
nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s I worked on a client a couple months back that renders everything through NanoVG in C++, similar to your chosen stack for NoteDeck...
jb55 profile picture
nanovg is dope. 8 years ago i was attempting to build a visual programming language using that:

https://github.com/jb55/vpl

Also had an svg renderer working at some point.

In NoteDeck the rendering is quite different. For emojis i will likely use a texture atlas? The font renderer probably needs a lot of work. I was going to look at lagrange and see how it does it.
1❤️1🤙2
Bartholomew Joyce⚡️🇫🇷 · 151w
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 ...