Damus

Recent Notes

jb55 · 151w
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...
Bartholomew Joyce⚡️🇫🇷 profile picture
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
Bartholomew Joyce⚡️🇫🇷 profile picture
@jb55 I worked on a client a couple months back that renders everything through NanoVG in C++, similar to your chosen stack for NoteDeck. I managed to add support for emoji rendering by writing some OS specific code (CoreText for iOS, out to HTML canvas for web, etc…).

Would you like me to try porting it to NoteDeck?
2🤙1
jb55 · 151w
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 ...
Reverend Hodl · 151w
Sent you a DM.
The Fishcake (nostr.build) · 152w
Depends! No black and white, it’s all on the spectrum 🐶🐾🫡
Mike Dilger ☑️ · 153w
test again: nostr:nrelay1qqdhwumn8ghj7mn0wd68ytndd94k2erfd3nk2u3wvdhk6tcqr3mhxue69uhkummnw3erytndd94k2erfd3nk2u3wvdhk6tckn0l55
Bartholomew Joyce⚡️🇫🇷 profile picture
I added support for this in Damus, but only did the decoding part of it. At that time (maybe different now) Damus didn’t have seem to have a simple way to make relay URLs interactive. Would be nice if you could tap and then have an option to add it to your list of relays. But currently it just shows the URL