Hacker News new | ask | show | jobs
by veidr 2921 days ago
Hmm, I have never seen a conflict like that with any of the Electron apps I use daily: VSCode, Cypress, Wire, and (blecch) Slack.

What app was that, and what platform did you see it on? (I use the apps mentioned above on macOS, Windows 10, Ubuttnu 18.04, but I guess 80% of the time I'm using macOS so I might not have noticed if its a Linux thing...)

1 comments

I'm surprised you didn't encounter the issue with VSCode on Ubuntu 18.04, as that's where I ran into it.

https://github.com/electron/libchromiumcontent/issues/384

tl;dr (as I understand it) is that a change in FreeType invalidated an assumption that programs were making in how fonts were rendered, making text look garbled. It was fixed pretty quickly in Chromium and Firefox, but it took a few months to trickle through to Electron and finally to the apps based on it. In the meantime, Linux distros had started upgrading to the new "fixed" (seemingly broken) FreeType, so the workaround was to downgrade FreeType until any affected Electron apps were updated.