Don't give up too early when waiting for fonts

This commit is contained in:
ahocevar
2019-07-04 16:11:02 +02:00
parent 5616c535b0
commit ab2d97d49b
2 changed files with 3 additions and 3 deletions

View File

@@ -196,7 +196,7 @@ export const textHeights = {};
* @param {string} fontSpec CSS font spec.
*/
export const checkFont = (function() {
const retries = 60;
const retries = 100;
const checked = checkedFonts;
const size = '32px ';
const referenceFonts = ['monospace', 'serif'];