ref: 71b617d8b701301801f91ed3e7f293d2404b400b
parent: bfa83bdc273812617615abbba8c90c6b1143dacf
author: Werner Lemberg <[email protected]>
date: Thu Sep 29 15:53:39 EDT 2016
[ftfuzzer] Speed up. * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Don't check for embedded bitmaps if we have a non-default instance.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2016-09-29 Werner Lemberg <[email protected]>
+ [ftfuzzer] Speed up.
+
+ * src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Don't
+ check for embedded bitmaps if we have a non-default instance.
+
+2016-09-29 Werner Lemberg <[email protected]>
+
[truetype] Disallow bitmap strokes for non-default instances.
Also speed up access of default instances if GX variations are
--- a/src/tools/ftfuzzer/ftfuzzer.cc
+++ b/src/tools/ftfuzzer/ftfuzzer.cc
@@ -263,6 +263,10 @@
}
else
{
+ // bitmap strokes are not active for glyph variations
+ if ( instance_index )
+ continue;
+
if ( FT_Select_Size( face, fixed_sizes_index - 1 ) )
continue;
flags |= FT_LOAD_COLOR;