[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] ewaldhew-wip 7b258cf 12/47: [seac] add
From: |
Hew Yih Shiuan Ewald |
Subject: |
[freetype2] ewaldhew-wip 7b258cf 12/47: [seac] add |
Date: |
Thu, 6 Jul 2017 04:49:33 -0400 (EDT) |
branch: ewaldhew-wip
commit 7b258cff5b435bc9d0737c6930e4ab3769ee9d01
Author: Ewald Hew <address@hidden>
Commit: Ewald Hew <address@hidden>
[seac] add
---
src/psaux/psintrp.c | 11 +++++++----
src/psaux/t1decode.c | 2 +-
src/psaux/t1decode.h | 7 +++++++
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/src/psaux/psintrp.c b/src/psaux/psintrp.c
index 8392a2d..20454f4 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 */
/*************************************************************************/
/* */
@@ -1257,12 +1258,14 @@
FT_TRACE4(( " unknown op (12, %d)\n", op2 ));
else
{
+ FT_TRACE4(( " seac\n" ));
+
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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] ewaldhew-wip 7b258cf 12/47: [seac] add,
Hew Yih Shiuan Ewald <=