Merge pull request #7902 from ahocevar/font-detect-symbol

Add a unicode symbol for symbol font detection
This commit is contained in:
Andreas Hocevar
2018-02-27 13:39:21 +01:00
committed by GitHub

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) {