From 21658c31f705edd4c94798eee62ce5b5241814b9 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Tue, 12 Sep 2017 15:59:18 +0900 Subject: [PATCH] [autofit, sfnt] Fix for `make multi'. * src/autofit/afshaper.c: Include FT_ADVANCE_H, to use FT_Get_Advance() in it. * src/sfnt/ttcmap.c: Include FT_SERVICE_POSTSCRIPT_CMAPS_H to use PS_Unicodes in it, also include `ttpost.h' to use tt_face_get_ps_name() in it. --- ChangeLog | 10 ++++++++++ src/autofit/afshaper.c | 1 + src/sfnt/ttcmap.c | 2 ++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index cdd6ee24b..b9d69c04c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2017-09-12 suzuki toshiya + + [autofit, sfnt] Fix for `make multi'. + + * src/autofit/afshaper.c: Include FT_ADVANCE_H, to use + FT_Get_Advance() in it. + * src/sfnt/ttcmap.c: Include FT_SERVICE_POSTSCRIPT_CMAPS_H + to use PS_Unicodes in it, also include `ttpost.h' to use + tt_face_get_ps_name() in it. + 2017-09-11 Azzuro [build] Improve builds with different MS Visual Studio versions. diff --git a/src/autofit/afshaper.c b/src/autofit/afshaper.c index da92fad3e..d25996421 100644 --- a/src/autofit/afshaper.c +++ b/src/autofit/afshaper.c @@ -18,6 +18,7 @@ #include #include FT_FREETYPE_H +#include FT_ADVANCES_H #include "afglobal.h" #include "aftypes.h" #include "afshaper.h" diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c index ef03e0442..b995e5c05 100644 --- a/src/sfnt/ttcmap.c +++ b/src/sfnt/ttcmap.c @@ -23,8 +23,10 @@ #include FT_INTERNAL_VALIDATE_H #include FT_INTERNAL_STREAM_H +#include FT_SERVICE_POSTSCRIPT_CMAPS_H #include "ttload.h" #include "ttcmap.h" +#include "ttpost.h" #include "sfntpic.h"