Increase default max size for output to 128MB
We're experiencing users in Chrome that require larger decode sizes for their woff2 fonts. I suggest to increase this limit. Compare https://crbug.com/40233227
This commit is contained in:
committed by
GitHub
parent
0f4d304faa
commit
65e54002cd
@@ -17,7 +17,7 @@
|
|||||||
namespace woff2 {
|
namespace woff2 {
|
||||||
|
|
||||||
// Suggested max size for output.
|
// Suggested max size for output.
|
||||||
const size_t kDefaultMaxSize = 30 * 1024 * 1024;
|
const size_t kDefaultMaxSize = 128 * 1024 * 1024;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Output interface for the woff2 decoding.
|
* Output interface for the woff2 decoding.
|
||||||
|
|||||||
Reference in New Issue
Block a user