💾 Archived View for bbs.geminispace.org › u › jmjl › 6030 captured on 2023-11-14 at 09:06:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2023-12-28)

🚧 View Differences

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

I think this is a bug in Lagrange but not sure, 👩‍🔬 looks like 2 different emojis (I know that it's a woman emoji, a joiner and a science emoji), which just looks ood.

🍭 jmjl

Oct 08 · 5 weeks ago

5 Comments ↓

🚀 skyjake · Oct 08 at 17:02:

Yes, this is a known shortcoming. Emoji with joiners are not (always?) rendered as the intended glyph, probably because the fonts that are available don't have the appropriate glyphs. This is a bit from memory, but I think HarfBuzz should be able to handle the joiners otherwise.

🍭 jmjl · Oct 08 at 17:06:

Oh, so basically as we don't know if the font we're using has the joined emoji, it will always make lagrange display it as two emojis, just to be sure. If I understood it correctly, right?

🚀 skyjake · Oct 08 at 17:42:

Not exactly. Lagrange has access only to its built-in fonts and any other fonts you've manually installed in the app. So it has a limited choice of glyphs available. Also, Lagrange is limited to fonts with black and white glyphs, while complex Emoji like the ones with joiners typically come as colored bitmap fonts.

There is possibly one bug here that I need to check: if the text renderer switches fonts for any reason inside a code point cluster, it'll prevent HarfBuzz from seeing the joiner correctly.

🍭 jmjl · Oct 08 at 17:43:

Oh, I thought it had access to all of the system fonts like any other application. But yeah, I forget that the code specifically wants black and white glyphs which yeah I also forgot and would cut down any emoji font, as those are coloured.

🐵 cquenelle · Oct 13 at 05:39:

Just gotta say, the black and white emojis are one of my favorite things about Lagrange. They make my eyes go ahhhhhh…