From 754d558893d71e2a46da8a9c35bc137378bfea36 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 12 Sep 2003 20:32:51 +0000 Subject: [PATCH] * src/cff/cffcmap.c: Include `cfferrs.h'. * src/pfr/pfrdrivr.c: Include `pfrerror.h'. * src/sfnt/sfdriver.c: Include `sferrors.h'. * src/psaux/psobjs.h: Add declaration for `ps_parser_to_bytes'. --- ChangeLog | 5 +++++ src/cff/cffcmap.c | 2 ++ src/pfr/pfrdrivr.c | 2 ++ src/psaux/psobjs.h | 7 +++++++ src/sfnt/sfdriver.c | 2 ++ 5 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4dc6680d5..6a50e27ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,11 @@ * include/freetype/internal/ftserv.h (FT_SERVICE_SFNT_H): New macro. * src/base/ftobjs.c: Include FT_SERVICE_SFNT_H. + * src/cff/cffcmap.c: Include `cfferrs.h'. + * src/pfr/pfrdrivr.c: Include `pfrerror.h'. + * src/sfnt/sfdriver.c: Include `sferrors.h'. + * src/psaux/psobjs.h: Add declaration for `ps_parser_to_bytes'. + 2003-09-11 David Turner Introducing the concept of `module services'. This is the first diff --git a/src/cff/cffcmap.c b/src/cff/cffcmap.c index 5ed9d5dcf..ef1735a7c 100644 --- a/src/cff/cffcmap.c +++ b/src/cff/cffcmap.c @@ -19,6 +19,8 @@ #include "cffcmap.h" #include "cffload.h" +#include "cfferrs.h" + /*************************************************************************/ /*************************************************************************/ diff --git a/src/pfr/pfrdrivr.c b/src/pfr/pfrdrivr.c index 3935e2e54..4d8980caf 100644 --- a/src/pfr/pfrdrivr.c +++ b/src/pfr/pfrdrivr.c @@ -23,6 +23,8 @@ #include "pfrdrivr.h" #include "pfrobjs.h" +#include "pfrerror.h" + static FT_Error pfr_get_kerning( PFR_Face face, diff --git a/src/psaux/psobjs.h b/src/psaux/psobjs.h index 8b214f652..528efc3d5 100644 --- a/src/psaux/psobjs.h +++ b/src/psaux/psobjs.h @@ -108,6 +108,13 @@ FT_BEGIN_HEADER ps_parser_to_int( PS_Parser parser ); + FT_LOCAL( FT_Error ) + ps_parser_to_bytes( PS_Parser parser, + FT_Byte* bytes, + FT_Int max_bytes, + FT_Int* pnum_bytes ); + + FT_LOCAL( FT_Fixed ) ps_parser_to_fixed( PS_Parser parser, FT_Int power_ten ); diff --git a/src/sfnt/sfdriver.c b/src/sfnt/sfdriver.c index 80551be2b..224251305 100644 --- a/src/sfnt/sfdriver.c +++ b/src/sfnt/sfdriver.c @@ -25,6 +25,8 @@ #include "ttcmap.h" #include "sfobjs.h" +#include "sferrors.h" + #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS #include "ttsbit.h" #endif