| Index: test/side-by-side.cc
|
| diff --git a/test/side-by-side.cc b/test/side-by-side.cc
|
| old mode 100644
|
| new mode 100755
|
| index 08056ba77ff46e25cfb4331b5010e82733297ca3..c34f64a076a7018b6b8b1801dddb9e547ba78cf1
|
| --- a/test/side-by-side.cc
|
| +++ b/test/side-by-side.cc
|
| @@ -3,9 +3,9 @@
|
| // found in the LICENSE file.
|
|
|
| #include <fcntl.h>
|
| -#include <freetype/ftoutln.h>
|
| #include <ft2build.h>
|
| #include FT_FREETYPE_H
|
| +#include FT_OUTLINE_H
|
| #include <sys/stat.h>
|
| #include <sys/types.h>
|
| #include <unistd.h>
|
| @@ -267,8 +267,9 @@ int main(int argc, char **argv) {
|
| static const size_t kPadLen = 20 * 1024;
|
| uint8_t *trans_font = new uint8_t[orig_len + kPadLen];
|
| ots::MemoryStream output(trans_font, orig_len + kPadLen);
|
| + ots::OTSContext context;
|
|
|
| - bool result = ots::Process(&output, orig_font, orig_len);
|
| + bool result = context.Process(&output, orig_font, orig_len);
|
| if (!result) {
|
| std::fprintf(stderr, "Failed to sanitise file! %s\n", argv[1]);
|
| return 1;
|
|
|