Add a unicode symbol for symbol font detection

This commit is contained in:
Andreas Hocevar
2018-02-27 13:22:35 +01:00
parent 795ef70bf9
commit 445c49c1eb

View File

@@ -129,7 +129,7 @@ export const checkFont = (function() {
const size = '32px ';
const referenceFonts = ['monospace', 'serif'];
const len = referenceFonts.length;
const text = 'wmytzilWMYTZIL@#/&?$%10';
const text = 'wmytzilWMYTZIL@#/&?$%10\uF013';
let interval, referenceWidth;
function isAvailable(font) {