1 unstable release
Uses old Rust 2015
| 0.6.1 | Jan 21, 2026 |
|---|
#118 in Build Utils
24,225 downloads per month
Used in 6 crates
(via servo-fonts)
730KB
17K
SLoC
fontsan - a sanitizer for untrusted font files.
Currently, this is just a wrapper around ots, which it builds a copy of.
fontsan
A sanitiser for untrusted font files. Currently, this is just a wrapper around ots, which it builds a copy of.
To update:
- check the appropriate upstream tag/commit of ots and its dependencies
- edit the
_TAGvariables at the top of thesrc/deps/update_deps.shscript - $
bash src/deps/update_deps.sh - $
git add src/deps - Potentially adjust the
build.rsto accommodate new and removed files from the dependencies - make
cargo buildandcargo testwork - update the crate version number and the
CHANGELOG.md
License of fontsan and dependencies
- fontsan: BSD 3-clause license
- ots: BSD 3-clause license
- lz4: BSD 2-Clause license
- brotli: MIT license
- woff2: MIT license
Dependencies
~3.5MB
~58K SLoC