OTS-SANITIZE(1)
π ots-sanitize β the manual, but make it slay
okay bestie, welcome to the glow-up of ots-sanitize(1). yes it's a real Unix manual page, yes it's about fonts, and yes we're gonna have fun with it. π
β¨ NAME β¨
ots-sanitize β font validator and transcoder. she checks your fonts and she also converts them. main character energy, no cap. π
πΈ SYNOPSIS πΈ
ots-sanitize [OPTIONS]... FONT_FILE [DEST_FONT_FILE] [FONT_INDEX]
π¦ DESCRIPTION π¦
okay so ots-sanitize is a program that validates and/or transcodes a font file using the OTS library. that's the whole vibe.
the OpenType Sanitizer (OTS, for the girlies in the know) parses and serializes OpenType files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing them as it goes. it's giving security guard but for glyphs. π§
the options are literally just these two:
--quietβ do not display information or error messages. she goes silent mode, no commentary, no drama. π€«--versionβ output version information and exit. she tells you who she is and then she leaves. iconic. π
π₯ EXAMPLES π₯
sanitize a sample and save it to another file β the classic glow-up:
$ ots-sanitize sample.otf transcoded_sample.otf
File sanitized successfully!
try to sanitize a malformed file, aka the vibe check that goes wrong:
$ ots-sanitize malformed.ttf
WARNING: bad range shift
ERROR at src/ots.cc:670 (ProcessGeneric)
Failed to sanitize file!
not the WARNING: bad range shift π sometimes the font is simply not that girl and there's nothing we can do about it.
π REPORTING BUGS π
found a bug? report it, bestie, don't suffer in silence:
https://github.com/khaledhosny/ots/issues
π SEE ALSO π
the whole friend group. go say hi. π«Ά
OpenType Sanitizer, November 2020. that's the tea, that's the source and the date, and that's the end of the page. mwah. πβ¨ππ¦
π¦ where this page comes from
- debian bookworm: opentype-sanitizer 8.2.1+dfsg-2 Β· BSD-3-Clause-Google
- debian trixie: opentype-sanitizer 8.2.1+dfsg-2 Β· BSD-3-Clause-Google
- epel 10: opentype-sanitizer 9.3.0-1.el10_3 Β· BSD-3-Clause
- epel 9: opentype-sanitizer 9.3.0-1.el9 Β· BSD-3-Clause
- fedora 43: opentype-sanitizer 9.2.0-4.fc43 Β· BSD-3-Clause
- fedora 43: opentype-sanitizer 9.3.0-1.fc43 Β· BSD-3-Clause
- fedora 44: opentype-sanitizer 9.2.0-6.fc44 Β· BSD-3-Clause
- fedora 44: opentype-sanitizer 9.3.0-1.fc44 Β· BSD-3-Clause
- nixos 26.05: opentype-sanitizer 9.2.0
- nixpkgs unstable: opentype-sanitizer 9.3.0
- ubuntu jammy: opentype-sanitizer 8.2.1+dfsg-1 Β· BSD-3-Clause-Google
- ubuntu noble: opentype-sanitizer 8.2.1+dfsg-2 Β· BSD-3-Clause-Google
- ubuntu questing: opentype-sanitizer 8.2.1+dfsg-2
- ubuntu resolute: opentype-sanitizer 8.2.1+dfsg-2build1 Β· BSD-3-Clause-Google
- ubuntu stonking: opentype-sanitizer 8.2.1+dfsg-2build1 Β· BSD-3-Clause-Google
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms