logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ots-sanitize - font validator and transcoder

Description

       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!

Name

       ots-sanitize - font validator and transcoder

Reporting Bugs

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

See Also

ots-idempotent(1), ots-perf(1), ots-side-by-side(1), ots-validator-checker(1)

OpenType Sanitizer                                November 2020                                  OTS-SANITIZE(1)

Synopsis

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

See Also