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:
Dominik Röttsches
2025-12-11 11:11:29 +02:00
committed by GitHub
parent 0f4d304faa
commit 65e54002cd
+1 -1
View File
@@ -17,7 +17,7 @@
namespace woff2 {
// 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.