[web] Split all 1MB+ fallback fonts (including CJK) (flutter/engine#56388)
By splitting all large fallback fonts (1MB+) into smaller parts, we get faster downloads and fast decoding. Some fonts are split into 100+ parts, and that's causing `main.dart.js`'s size to grow by ~47KB (Brotli-compressed). The increase in size is due to the extra data we have to store about all the parts of these fonts. The PR also makes changes to ensure we don't download the same license file 100 times (once for each part of the split font). Fixes https://github.com/flutter/flutter/issues/138288 Part of https://github.com/flutter/flutter/issues/153974
This commit is contained in:
Reference in New Issue
Block a user