Bump up the max font file size. Composite fonts can be larger than simple fonts. Once we support Japanese we will need to reconsider how this is done as a large Japanese font may be up to 30Mb in size.
This commit is contained in:
parent
36763e8e82
commit
0906cc8c94
2
fonts.js
2
fonts.js
@ -7,7 +7,7 @@ var isWorker = (typeof window == 'undefined');
|
|||||||
/**
|
/**
|
||||||
* Maximum file size of the font.
|
* Maximum file size of the font.
|
||||||
*/
|
*/
|
||||||
var kMaxFontFileSize = 40000;
|
var kMaxFontFileSize = 200000;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum time to wait for a font to be loaded by font-face rules.
|
* Maximum time to wait for a font to be loaded by font-face rules.
|
||||||
|
Loading…
Reference in New Issue
Block a user