-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

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

2023-10-08 · 7 months ago


5 Comments ↓


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

-- Response ended

-- Page fetched on Sun May 19 16:40:50 2024