ref: 448fc67814e80c548c6df459ec0e1e7d1edd1c7b
dir: /sys/src/cmd/gs/src/zchar2.c/
/* Copyright (C) 1998, 1999 Aladdin Enterprises. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license contained in the file LICENSE in this distribution.
For more information about licensing, please refer to
http://www.ghostscript.com/licensing/. For information on
commercial licensing, go to http://www.artifex.com/licensing/ or
contact Artifex Software, Inc., 101 Lucas Valley Road #110,
San Rafael, CA 94903, U.S.A., +1(415)492-9861.
*/
/* $Id: zchar2.c,v 1.4 2002/02/21 22:24:54 giles Exp $ */
/* Type 2 character display operator */
#include "ghost.h"
#include "oper.h"
#include "gxfixed.h"
#include "gxmatrix.h"
#include "gxfont.h"
#include "gxfont1.h"
#include "gxtype1.h"
#include "ichar1.h"
/* <font> <code|name> <name> <charstring> .type2execchar - */
private int
ztype2execchar(i_ctx_t *i_ctx_p)
{
return charstring_execchar(i_ctx_p, (1 << (int)ft_encrypted2));
}
/* ------ Initialization procedure ------ */
const op_def zchar2_op_defs[] =
{
{"4.type2execchar", ztype2execchar},
op_def_end(0)
};