TLDR Web Dev · ARTICLES & TUTORIALS

MEMORY SAFETY FOR WEB FONTS

developer.chrome.com9 min read

Summary from the TLDR Web Dev newsletter

Chrome replaced FreeType with Skrifa, a Rust-based font processing library, to improve memory safety and reduce security vulnerabilities related to web fonts. FreeType is written in unsafe code and has a history of security issues that cost Google significant resources to address. Skrifa uses Rust's memory safety features and has rigorous testing to provide a more secure and reliable solution.