From 65e54002cdc94138862c188485bf5ddd5d01a33f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20R=C3=B6ttsches?= Date: Thu, 11 Dec 2025 11:11:29 +0200 Subject: [PATCH] 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 --- include/woff2/output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/woff2/output.h b/include/woff2/output.h index dc78ccf..377e66c 100644 --- a/include/woff2/output.h +++ b/include/woff2/output.h @@ -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.