💾 Archived View for bbs.geminispace.org › s › Lagrange › 15810 captured on 2024-08-18 at 22:13:07. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
Is there a way to change the emojis in use by Lagrange? I want something more like the native system emojis. For example, the full moon on my capsule appears to be just a circle. But I'd like it to look like a moon. I've tried installing some emoji fonts into the font management, but that doesn't seem to do anything (I'm probably doing it wrong).
Mar 26 · 5 months ago
🕹️ skyjake [mod...] · Mar 27 at 12:55:
If you create a custom fontpack, you can replace all the fonts in the app, including the bundled Emojis. However, you will still be limited by the font rendering being only monochrome, which means pretty much all modern bitmap-based Emoji fonts are incompatible.
The way around this would be to expand the text renderer to use system-provided APIs (such as FreeType), but that is a bigger project I've yet to tackle.
AFAIK Lagrange uses its own self-created emoji to have monochrome ones as a design choice, and there is no way to change it.
The monochrome Emoji are due to both a technical limitation (as mentioned above) and a design choice. Also, only a small handful of the Emoji are custom ones created by yours truly. The rest are a couple different versions of Google's Noto Emoji.
🌙 projectmoon [OP] · Mar 27 at 20:23:
Thanks for the info. One random semi-related question: What controls the icon generation for a capsule? The big icon that appears on the left side as you scroll down the page.
🕹️ skyjake [mod...] · Mar 30 at 09:30:
@michaelnordmeyer:
And regarding support for emoji variants, like man, person, woman, would they be rendered if a fontpack would provide those?
Not sure, but I'm leaning toward no due to my text rendering not handling them. HarfBuzz will surely do the right thing with ZWJs but my rendering code does not join any code points.
Off the top of my head, I don't know if the monochrome Emoji fonts Lagrange uses actually include many/any character variants.
🌙 projectmoon [OP] · Mar 30 at 09:53:
I don't think it would render fully right. Flags for example appear as a two character country code. (Unless that's intentional?)