shithub: freetype+ttf2subf

Download patch

ref: 754d558893d71e2a46da8a9c35bc137378bfea36
parent: 5e3614f5847370786d8c91e1aa428ed15bbde55d
author: Werner Lemberg <[email protected]>
date: Fri Sep 12 16:32:51 EDT 2003

* 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'.

git/fs: mount .git/fs: mount/attach disallowed
--- 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  <[email protected]>
 
 	Introducing the concept of `module services'.  This is the first
--- a/src/cff/cffcmap.c
+++ b/src/cff/cffcmap.c
@@ -19,6 +19,8 @@
 #include "cffcmap.h"
 #include "cffload.h"
 
+#include "cfferrs.h"
+
 
   /*************************************************************************/
   /*************************************************************************/
--- 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,
--- a/src/psaux/psobjs.h
+++ b/src/psaux/psobjs.h
@@ -108,6 +108,13 @@
   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 );
--- 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