demo · v133
Rust Font Stack
An internal hardening: Chrome's font shaping moves to Rust components for memory safety. No web-facing API change, so this page exercises the path: type weird text into the box and watch shape time stay stable as you crank font-size and string length.
last bench (ms)
-
chars shaped
-
checking support...
the code
// No new API. Same measurement, new internals:
const t0 = performance.now();
out.textContent = expand(text, 5000); // force shape
void out.offsetHeight; // force layout
const t1 = performance.now();
see also
- Secure Rust Font Stack - feature index
- ChromeStatus entry
- Chrome security blog post