[ftfuzzer] Always use Adobe CFF engine.

* src/tools/ftfuzzer/ftfuzzer.cc (FT_Global::FT_Global): Implement
it.
Harmony
Werner Lemberg 8 years ago
parent 7209110345
commit ada8297175
  1. 7
      ChangeLog
  2. 8
      src/tools/ftfuzzer/ftfuzzer.cc

@ -1,3 +1,10 @@
2016-12-22 Werner Lemberg <wl@gnu.org>
[ftfuzzer] Always use Adobe CFF engine.
* src/tools/ftfuzzer/ftfuzzer.cc (FT_Global::FT_Global): Implement
it.
2016-12-21 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Thinko.

@ -55,6 +55,14 @@
struct FT_Global {
FT_Global() {
InitResult = FT_Init_FreeType( &library );
if ( InitResult )
return;
// try to activate Adobe's CFF engine; it might not be the default
unsigned int cff_hinting_engine = FT_CFF_HINTING_ADOBE;
FT_Property_Set( library,
"cff",
"hinting-engine", &cff_hinting_engine );
}
~FT_Global() {
FT_Done_FreeType( library );

Loading…
Cancel
Save