ots-sanitize(1)

ots-sanitize1

Font validator and transcoder

Usage

ots-sanitize [OPTIONS] ... FONT_FILE [DEST_FONT_FILE] [FONT_INDEX]

Overview

ots-sanitize is a program which validates and/or transcodes a font file using the OTS library.

The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing them as it goes.

--quiet

do not display information or error messages

--version

output version information and exit

Examples

Sanitize a sample and save it to another file:

$ ots-sanitize sample.otf transcoded_sample.otf
File sanitized successfully!

Try to sanitize a malformed file:

$ ots-sanitize malformed.ttf
WARNING: bad range shift
ERROR at src/ots.cc:670 (ProcessGeneric)
Failed to sanitize file!

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

Reporting bugs

Report bugs to <https://github.com/khaledhosny/ots/issues>

From opentype-sanitizer 8.2.1+dfsg-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.