💾 Archived View for bbs.geminispace.org › u › jmjl › 6030 captured on 2024-06-16 at 14:43:54. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-26)
-=-=-=-=-=-=-
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.
2023-10-08 · 8 months ago
🕹️ skyjake [...] · 2023-10-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 [OP] · 2023-10-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 [...] · 2023-10-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 [OP] · 2023-10-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 · 2023-10-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…