fantasticon
fantasticon copied to clipboard
Bad loading of generated font
sorry
I need help to understand the behavior
Font is not loaded and as result, we have Arial as rendered font
I thought that the issue might be in disk cache
As you can see when we load the font from the memory cache - all good
but in other case, we load font correctly even from disk cache
Maybe you know how to solve that issue?
Same issue happens for me as well, but very very inconsistently - I don't (yet) have an easy way to reproduce it
The root of the issue is that font generated with characters starting from 0 or something like that but for the browser, we need to have basic Latin. So it loads the default font instead. I've managed to fix it by using .fantasticonrc.js file with the list of icons, but starting with 48 ("0" in Unicode)
codepoints: {
"icon-first": 48,