When running game (both web version and mobile version) on some older device, we don't have our game's font displayed at all and font substitution (i.e. to Times New Roman etc.) walks in.
Our initial research had revealed that this could potentially be caused by the fact that the source code references .woff2 font file only and does not reference .otf, .ttf and .woff files:
But, please, double check, if this is truly the cause of this bug.
Please, make sure that you test this on devices that doesn't have .ttf font installed in Windows. Otherwise your results might be inconclusive, because browsers on Windows displays fonts directly from installed .ttf or .otf files completely ignoring CSS styles.
You can have entire @font-face section removed from above stylesheet and still see correct font in game or page.
When running game (both web version and mobile version) on some older device, we don't have our game's font displayed at all and font substitution (i.e. to Times New Roman etc.) walks in.
Our initial research had revealed that this could potentially be caused by the fact that the source code references .woff2 font file only and does not reference .otf, .ttf and .woff files:
Old browsers doesn't recognize .woff2 fonts formats and must be pointed out to either .woff, .otf or .ttf:
But, please, double check, if this is truly the cause of this bug.
Please, make sure that you test this on devices that doesn't have .ttf font installed in Windows. Otherwise your results might be inconclusive, because browsers on Windows displays fonts directly from installed .ttf or .otf files completely ignoring CSS styles.
You can have entire
@font-face
section removed from above stylesheet and still see correct font in game or page.