mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
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
1 changed files with 1 additions and 1 deletions
2
fonts.js
2
fonts.js
|
@ -7,7 +7,7 @@ var isWorker = (typeof window == 'undefined');
|
|||
/**
|
||||
* 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue