summaryrefslogtreecommitdiff
path: root/source/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz')
-rw-r--r--source/fitz/font.c4
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