8👍
✅
To make sure that the font is included in electron, try something like this:
In your renderer main.js
import './scss/app.scss'
In your ‘./scss/app.scss’
@font-face {
font-family: 'Your Custom Font';
src: url('../assets/fonts/Your Custom Font.ttf');
}
This should make sure that your font is included with electron by webpack.
Source:stackexchange.com