diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2017-09-12 15:59:18 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2017-09-12 15:59:18 +0900 |
commit | 21658c31f705edd4c94798eee62ce5b5241814b9 (patch) | |
tree | b94c0c41c307871cff184c7f36326d5259d8fd5d | |
parent | babe13ec5ce9b76862e101ec033fefbf746683eb (diff) | |
download | freetype2-21658c31f705edd4c94798eee62ce5b5241814b9.tar.gz |
[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.
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | src/autofit/afshaper.c | 1 | ||||
-rw-r--r-- | src/sfnt/ttcmap.c | 2 |
3 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2017-09-12 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> + + [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 <azzuro@team-mediaportal.com> [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 <ft2build.h> #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" |