Is it possible to make Lagrange use render Emoji's in color? Perhaps by setting a different font?

=> Posted in: s/Lagrange | 🧇 Acidus

Jan 13 ¡ 6 days ago

3 Comments ↓

=> 🕹ī¸ skyjake [mod...] ¡ Jan 13 at 04:44:

Currently, no. Part of the reason why Lagrange can run on so many different platforms is that it does not rely on native text rendering. Instead, it uses a simple monochrome-only vector based TrueType library, so bitmap color Emojis are not supported.

At a minimum, I would have to switch to FreeType for the text rendering, which is quite a large dependency and would require new low-level text rendering code. Instead, I'll probably look into using Core Text directly to have better fonts and text layout (including native color Emoji) on Apple platforms, at some point in the future.

=> 🚀 clseibold · Jan 13 at 05:37:

@skyjake Honestly, I feel like text rendering is the worst part of making browsers. I got burnt out with Profectus because of having to do text-rendering crap.

I can not figure out FreeType in Golang for the life of me!

=> 🧇 Acidus [OP] · Jan 13 at 14:23:

Thanks Skyjake!

Proxy Information
Original URL
gemini://bbs.geminispace.org/s/Lagrange/23768
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
77.901267 milliseconds
Gemini-to-HTML Time
0.703873 milliseconds

This content has been proxied by September (ba2dc).