Add a fuzzer for COLRv1 fonts API (#93)

Add a corpus and glyph traversal for COLRv1 fonts. Iterate over the
glyphs in the font and if a COLRv1 glyph is found, traverse its drawing
graph, retrieving gradients and their positions, transform data and
color line data.

Fixes: https://gitlab.freedesktop.org/freetype/freetype/-/issues/1030
22 files changed
tree: a75225bf060a27cdd19e586a406fbdcf349889da
  1. .gitignore
  2. .gitmodules
  3. .travis.yml
  4. LICENSE
  5. README.md
  6. external/
  7. fuzzing/
README.md

License: GPL v2 Build Status

FreeType

https://www.freetype.org/

FreeType is a freely available software library to render fonts.

Testing

This repository provides testing utilities for FreeType:

  • Fuzzing: house the fuzz targets for OSS-Fuzz and use Travis CI to run a regression test suite of fuzzed samples that uncovered verified and fixed bugs.