nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c cant seem to find a font to cover some posts:

https://g33k.holbrook.no/9771dac88c5f56399eb5e42c8caa1a2f5342f7934956d89cca5e03976d8064aa

The byte contents of the squares are:

00000000 f0 9d 9f 90 f0 9d 9f 8e 20 f0 9d 90 a7 f0 9d 90 |........ .......|

00000010 9e f0 9d 90 b0 20 f0 9d 90 a6 f0 9d 90 a2 f0 9d |..... ..........|

00000020 90 a7 f0 9d 90 9d f0 9d 90 ac 2c 20 f0 9d 90 a8 |.........., ....|

00000030 f0 9d 90 a7 f0 9d 90 9e 20 f0 9d 90 a8 f0 9d 90 |........ .......|

00000040 ab f0 9d 90 9a f0 9d 90 a7 f0 9d 90 a0 f0 9d 90 |................|

00000050 9e 20 f0 9d 90 ac f0 9d 90 a9 f0 9d 90 9a f0 9d |. ..............|

00000060 90 ab f0 9d 90 a4 |......|

00000066

Reply to this note

Please Login to reply.

Discussion

Unicode is too big. There are fonts that allegedly cover everything, but they don't. We are using "Noto" fonts... noto stands for "No Tofu" wher tofu is that empty square replacement char that looks like a piece of tofu. And yet... we still get tofu.

I installed all the noto- fonts packages on my archlinux, but it doesn't help. Are the fonts embedded in the binary, by any chance? Do I have to recompile it, and should I configure fonts in some way when I do?

Yeah gossip ships it's own fonts so it doesn't break on the thousands of variations of systems and how they all do fonts differently.

In the main directory there is a fonts/ folder, and in gossip-bin/src/ui/theme/mod.rs the fonts get loaded in font_definitions(). You can try adding your own and then compiling.