[ftfuzzer] Speed up.
* src/tools/ftfuzzer/ftfuzzer.cc (LLVMFuzzerTestOneInput): Don't check for embedded bitmaps if we have a non-default instance.
This commit is contained in:
parent
bfa83bdc27
commit
71b617d8b7
|
@ -1,3 +1,10 @@
|
|||
2016-09-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[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 <wl@gnu.org>
|
||||
|
||||
[truetype] Disallow bitmap strokes for non-default instances.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue