skia2/fuzz
Kevin Lubick ec1c620316 Avoid system fonts when fuzzing
This should make reproducing certain fuzzes easier between oss-fuzz
and a typical dev's desktop.

This was the most straight-forward way I could think of to
accomplish this.  An ideal solution would "compile" a set of
fonts that was not the test set and embed it, but I lack the
domain knowledge to craft such a set.

If this method works ok, we can explore making the font set
more robust and varied.

Bug: 818769
Change-Id: I03eb2bc316caf7aec3ffa88e59ff29d76c8557ec
Reviewed-on: https://skia-review.googlesource.com/c/177800
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2018-12-14 17:11:56 +00:00
..
oss_fuzz Avoid system fonts when fuzzing 2018-12-14 17:11:56 +00:00
coverage remove SkColorSpace::MakeICC() fuzzer 2018-05-23 16:31:11 +00:00
Fuzz.cpp Fuzz: un-inline some code 2018-11-19 18:44:07 +00:00
Fuzz.h Fuzz: un-inline some code 2018-11-19 18:44:07 +00:00
FuzzCanvas.cpp make SK_SUPPORT_LEGACY_FONTMETRICS_IN_PAINT conditional 2018-12-12 19:54:51 +00:00
FuzzCommon.cpp remove legacy pathref validation 2018-12-13 14:29:09 +00:00
FuzzCommon.h FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
FuzzDrawFunctions.cpp remove legacy hinting-enum guards 2018-11-28 20:15:03 +00:00
FuzzEncoders.cpp Add Encoder fuzzers 2018-03-30 19:31:56 +00:00
FuzzGradients.cpp Reland "SkDEBUGF: use __VA_ARGS__" 2018-07-18 15:37:41 +00:00
FuzzMain.cpp Add Legacy fuzz reproducer 2018-10-23 14:24:22 +00:00
FuzzParsePath.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
FuzzPathMeasure.cpp FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
FuzzPathop.cpp simplify nextRange(), fold in nextEnum() 2018-11-19 18:04:12 +00:00
FuzzPolyUtils.cpp Add autodetect for polyutils fuzz 2018-10-11 13:35:52 +00:00
FuzzRegionOp.cpp simplify nextRange(), fold in nextEnum() 2018-11-19 18:04:12 +00:00