'Electron fonts and Chromium browser alert() function showing glyphs
I'm quite new to Electron and kind of got thrown into a project that someone else had started. Forgive me, I'm a newbie.
We're running Electron on Linux and have everything running fine, except for the font on the browser's alert() function, which, according to our devs isn't a controllable font on their end. It shows up as glyphs (square boxes with Unicode numbers) - like the font it's looking for is missing. I've tried bundling some font packages from NPM with the Electron build, but none seem to work.
I can install certain font packages on the OS (noto-sans-font or cantarell) and get it to work, but we have systems out in the field that only update the Electron app and don't have these packages already installed. It seems NPM has these font packages available but they don't do anything when I add them to my package.json.
Does anyone have any insight on how to get this font to work? Do I need any more details?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
