/src/ghostpdl/psi/zchar2.c
Line | Count | Source (jump to first uncovered line) |
1 | | /* Copyright (C) 2001-2023 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, |
8 | | modified or distributed except as expressly authorized under the terms |
9 | | of the license contained in the file LICENSE in this distribution. |
10 | | |
11 | | Refer to licensing information at http://www.artifex.com or contact |
12 | | Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco, |
13 | | CA 94129, USA, for further information. |
14 | | */ |
15 | | |
16 | | |
17 | | /* Type 2 character display operator */ |
18 | | #include "ghost.h" |
19 | | #include "oper.h" |
20 | | #include "gxfixed.h" |
21 | | #include "gxmatrix.h" |
22 | | #include "gxfont.h" |
23 | | #include "gxfont1.h" |
24 | | #include "gxtype1.h" |
25 | | #include "ichar1.h" |
26 | | |
27 | | /* <font> <code|name> <name> <charstring> .type2execchar - */ |
28 | | static int |
29 | | ztype2execchar(i_ctx_t *i_ctx_p) |
30 | 0 | { |
31 | 0 | return charstring_execchar(i_ctx_p, (1 << (int)ft_encrypted2)); |
32 | 0 | } |
33 | | |
34 | | /* ------ Initialization procedure ------ */ |
35 | | |
36 | | const op_def zchar2_op_defs[] = |
37 | | { |
38 | | {"4.type2execchar", ztype2execchar}, |
39 | | op_def_end(0) |
40 | | }; |