💾 Archived View for bbs.geminispace.org › s › Lagrange › 15810 captured on 2024-05-26 at 15:17:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-12)

➡️ Next capture (2024-06-16)

🚧 View Differences

-=-=-=-=-=-=-

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).

Posted in: s/Lagrange

🌙 projectmoon

Mar 26 · 2 months ago

7 Comments ↓

🍵 michaelnordmeyer · Mar 27 at 08:59:

AFAIK Lagrange uses its own self-created emoji to have monochrome ones as a design choice, and there is no way to change it.

🕹️ 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.

🍵 michaelnordmeyer · Mar 28 at 20:48:

@skyjake IIRC the Noto Emoji fontpack from your site messed with right-to-left text.

And regarding support for emoji variants, like man, person, woman, would they be rendered if a fontpack would provide those?

🍵 michaelnordmeyer · Mar 28 at 20:59:

@projectmoon AFAIK the domain name is hashed and a corresponding icon chosen from a limited set of pre-defined icons. You can set those manually for a domain by bookmarking it, and then editing the bookmark to put an emoji in the icon field. But only you can see the difference.

Only geminiprotocol.net has ♊︎ as the pre-chosen icon.

Same goes for the color scheme. The has can be changed by typing something in "Theme palette seed" field, which is reachable by clicking on the lock icon in the URL bar, then click on settings.

🕹️ 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?)