I referred to this tutorial to allow my game to be able to use a web font without internet access. For some reason it's not working with NW.js
My code couldn't be simpler:
To create diplomatacss.css , I simply went to this page and saved the page, then imported the css file into my project Files folder. Diplomata is a google font.
The font is obviously not installed on my computer. When deactivating the internet connection and previewing the file or exporting via NW.js, the webfont isn't used.
What am I doing wrong? :-/