freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] ewaldhew-wip c714711 15/29: [seac] add


From: Hew Yih Shiuan Ewald
Subject: [freetype2] ewaldhew-wip c714711 15/29: [seac] add
Date: Mon, 26 Jun 2017 01:55:04 -0400 (EDT)

branch: ewaldhew-wip
commit c714711c33d0f49d1b202b342a027bbe2c02a0c6
Author: Ewald Hew <address@hidden>
Commit: Ewald Hew <address@hidden>

    [seac] add
---
 src/psaux/psintrp.c  | 9 +++++----
 src/psaux/t1decode.c | 2 +-
 src/psaux/t1decode.h | 7 +++++++
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/src/psaux/psintrp.c b/src/psaux/psintrp.c
index 8392a2d..a4dbb8c 100644
--- a/src/psaux/psintrp.c
+++ b/src/psaux/psintrp.c
@@ -47,8 +47,9 @@
 #include "psintrp.h"
 
 #include "pserror.h"
-#include "psobjs.h"  /* for cff_random */
 
+#include "psobjs.h"   /* for cff_random */
+#include "t1decode.h" /* for t1operator_seac */
 
   /*************************************************************************/
   /*                                                                       */
@@ -1258,11 +1259,11 @@
                     else
                     {
                       return t1operator_seac( decoder,
-                                              top[0],
+                                              top[0], /* FT_Pos */
                                               top[1],
                                               top[2],
-                                              Fix2Int( top[3] ),
-                                              Fix2Int( top[4] ) );
+                                              Fix2Int( cf2_stack_popFixed( 
opStack ) ), /* FT_Int */
+                                              Fix2Int( cf2_stack_popFixed( 
opStack ) ));
                     }
                   }
                   break;
diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c
index 1250b53..c898734 100644
--- a/src/psaux/t1decode.c
+++ b/src/psaux/t1decode.c
@@ -182,7 +182,7 @@
   /* <Return>                                                              */
   /*    FreeType error code.  0 means success.                             */
   /*                                                                       */
-  static FT_Error
+  FT_LOCAL_DEF( FT_Error )
   t1operator_seac( T1_Decoder  decoder,
                    FT_Pos      asb,
                    FT_Pos      adx,
diff --git a/src/psaux/t1decode.h b/src/psaux/t1decode.h
index 12c27de..be56d9a 100644
--- a/src/psaux/t1decode.h
+++ b/src/psaux/t1decode.h
@@ -31,6 +31,13 @@ FT_BEGIN_HEADER
   FT_CALLBACK_TABLE
   const T1_Decoder_FuncsRec  t1_decoder_funcs;
 
+  FT_LOCAL( FT_Error )
+  t1operator_seac( T1_Decoder  decoder,
+                   FT_Pos      asb,
+                   FT_Pos      adx,
+                   FT_Pos      ady,
+                   FT_Int      bchar,
+                   FT_Int      achar );
 
   FT_LOCAL( FT_Error )
   t1_decoder_parse_glyph( T1_Decoder  decoder,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]