diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-21 16:07:28 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-03-21 16:09:22 +0100 |
commit | 4022d1bb49a7ece2ffa1d88bbe9ae4839e27132b (patch) | |
tree | 7e2d6e7287aacd06d9519135db9f54f3561e5084 /source/fitz | |
parent | 62f6df06680cf62b9ac88837f9db3eed9499fcbc (diff) | |
download | mupdf-4022d1bb49a7ece2ffa1d88bbe9ae4839e27132b.tar.xz |
Allow building with old versions of freetype.
Debian stable still ships with freetype 2.5.2. We normally wouldn't care,
but desktop java builds need to use the system freetype library as that's
what AWT links against.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/font.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c index 8f598be1..56cfecbf 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -12,6 +12,10 @@ #define MAX_BBOX_TABLE_SIZE 4096 #define MAX_ADVANCE_CACHE 4096 +#ifndef FT_SFNT_OS2 +#define FT_SFNT_OS2 ft_sfnt_os2 +#endif + /* 20 degrees */ #define SHEAR 0.36397f |