pool.pm icon indicating copy to clipboard operation
pool.pm copied to clipboard

Unicode emoji rendering in Twitter thumbnails

Open chrzgame opened this issue 3 years ago • 2 comments

Pool_pm links in Twitter do not correctly render automatically generated thumbnails, when (onchain svg) thumbnails include unicode emojis. Specifically, some emojis are replaced by their corresponding Hex encoding.

chrzgame avatar Jun 30 '22 17:06 chrzgame

The issue is confirmed for example with https://pool.pm/asset1m34y7vhg0mjxtjfca9eadmmtu0t9txcfzyaa9e on Telegram:

image

SmaugPool avatar Jul 01 '22 08:07 SmaugPool

Emojis are now supported, but colors are not yet displayed correctly.

Example on Discord:

image

The issue comes from an underlying libsrvg library. The fix will be included once done in this library: https://gitlab.gnome.org/GNOME/librsvg/-/issues/911

SmaugPool avatar Dec 08 '22 12:12 SmaugPool