src/test-ot-color.cc | 2 +- test/fuzzing/hb-shape-fuzzer.cc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)
New commits: commit 5cd544a621f10b307bb97aea27ea54e55aacb2e9 Author: Behdad Esfahbod <[email protected]> Date: Tue Oct 30 19:16:00 2018 -0700 Fix build Fixes https://github.com/harfbuzz/harfbuzz/issues/1338 diff --git a/src/test-ot-color.cc b/src/test-ot-color.cc index 2cb9b03b..cb369c0f 100644 --- a/src/test-ot-color.cc +++ b/src/test-ot-color.cc @@ -23,7 +23,7 @@ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. */ -#include "hb.h" +#include "hb.hh" #include "hb-ot.h" #include "hb-ft.h" commit 69297bb21640677532b7030332f803c0768c6579 Author: Behdad Esfahbod <[email protected]> Date: Tue Oct 30 19:06:21 2018 -0700 [fuzzing] Call hb-ot-color API diff --git a/test/fuzzing/hb-shape-fuzzer.cc b/test/fuzzing/hb-shape-fuzzer.cc index b5a6c12e..e8bc186b 100644 --- a/test/fuzzing/hb-shape-fuzzer.cc +++ b/test/fuzzing/hb-shape-fuzzer.cc @@ -39,6 +39,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) hb_glyph_extents_t extents; hb_font_get_glyph_extents (font, info.codepoint, &extents); + + hb_ot_color_glyph_get_layers (face, info.codepoint, 0, nullptr, nullptr); + hb_blob_destroy (hb_ot_color_glyph_reference_svg (face, info.codepoint)); + hb_blob_destroy (hb_ot_color_glyph_reference_png (font, info.codepoint)); } hb_buffer_destroy (buffer); _______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
