1 /* Copyright (C) 2001-2006 Artifex Software, Inc.
2 All Rights Reserved.
3
4 This software is provided AS-IS with no warranty, either express or
5 implied.
6
7 This software is distributed under license and may not be copied, modified
8 or distributed except as expressly authorized under the terms of that
9 license. Refer to licensing information at http://www.artifex.com/
10 or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134,
11 San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
12 */
13
14 /* $Id: zchar2.c 9043 2008-08-28 22:48:19Z giles $ */
15 /* Type 2 character display operator */
16 #include "ghost.h"
17 #include "oper.h"
18 #include "gxfixed.h"
19 #include "gxmatrix.h"
20 #include "gxfont.h"
21 #include "gxfont1.h"
22 #include "gxtype1.h"
23 #include "ichar1.h"
24
25 /* <font> <code|name> <name> <charstring> .type2execchar - */
26 static int
ztype2execchar(i_ctx_t * i_ctx_p)27 ztype2execchar(i_ctx_t *i_ctx_p)
28 {
29 return charstring_execchar(i_ctx_p, (1 << (int)ft_encrypted2));
30 }
31
32 /* ------ Initialization procedure ------ */
33
34 const op_def zchar2_op_defs[] =
35 {
36 {"4.type2execchar", ztype2execchar},
37 op_def_end(0)
38 };
39