core: add DropExpensiveFonts pragma disabling woff and woff2 fonts

This commit is contained in:
outfoxxed 2026-04-08 00:39:52 -07:00
parent 7c5a6c4bd4
commit f0d0216b3d
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
2 changed files with 45 additions and 2 deletions

View file

@ -43,6 +43,8 @@ set shell id.
- Added `QS_DISABLE_CRASH_HANDLER` environment variable to disable crash handling.
- Added `QS_CRASHREPORT_URL` environment variable to allow overriding the crash reporter link.
- Added `AppId` pragma and `QS_APP_ID` environment variable to allow overriding the desktop application ID.
- Added `DropExpensiveFonts` pragma which avoids loading fonts which may cause lag and excessive memory usage if many variants are used.
- Unrecognized pragmas are no longer a hard error for future backward compatibility.
## Bug Fixes