Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just refuse to load for browsers other than Chrome.

Some users wont like it but Electron is a price too high if single browser target is your goal.



I think you meant to say "This website is optimized for IE 5.0 and 640x480 please upgrade your browser". Chrome still lacks something essential that IE had back in the day: API and bug for bug stability. Moving targets just aren't as atractive.


And now with Electron we have, "This application is optimized for libfreetype2.8-0. Please downgrade your system package until Electron catches up."


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...)


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: