Commit Graph
6 Commits
Author SHA1 Message Date
ldm0 3f50eeb166 perf(fonts): reuse native Brotli for WOFF2 decoding 2026-09-15 15:11:52 +08:00
ldm0 8c8169bedd fix(fonts): update wuff to handle corrupt WOFF2 data
Upgrade wuff to 0.2.9 with compatible version requirements in the layout
and renderer test dependencies. Add a regression proving that corrupt
Brotli data returns a decode error and preserves an existing font.

Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast: 17574 passed, 13 skipped
- Release verification: the previous SIGABRT sample renders with fallback;
  valid-font screenshots remain byte-identical
2026-09-15 15:11:52 +08:00
ldm0 09257c15cf refactor(fonts): extract system font matching crate
Move Fontconfig matching, substitution policy, and the Fontique lookup cache into moli-system-fonts. Keep CSS family adaptation in moli-layout, migrate tests and fixtures, and retain the Skia notice in source comments.
2026-09-12 04:13:15 +08:00
ldm0 04fb84ce40 fix(fonts): reject unrelated system font substitutions
Split from window.chrome onto origin/main at 4b35bbc968. No other unmerged feature groups included.

Original-commits: 5f14c020f
2026-09-11 22:57:15 +08:00
ldm0 fce58f7468 deps(layout): upgrade parley to 0.11.1
Stripped moli: 124,163,128 -> 123,520,056 bytes (-643,072 bytes, -0.52%).
2026-08-26 03:29:25 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00