1 /* Copyright (C) 2001-2019 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., 1305 Grant Avenue - Suite 200, Novato, 13 CA 94945, U.S.A., +1(415)492-9861, for further information. 14 */ 15 16 /* 17 * This file contains substantial parts of toolbin/encs2c.ps, 18 * which generated the remainder of the file mechanically from 19 * gs_std_e.ps gs_il1_e.ps gs_sym_e.ps gs_dbt_e.ps 20 * gs_wan_e.ps gs_mro_e.ps gs_mex_e.ps gs_mgl_e.ps 21 * gs_lgo_e.ps gs_lgx_e.ps gs_css_e.ps 22 * 23 * This source file is maintained manually under source code control, 24 * however its content should be regenerated by using encs2c.ps 25 * if changes are required. 26 */ 27 28 #ifndef gscedata_INCLUDED 29 # define gscedata_INCLUDED 30 31 #include "stdpre.h" 32 33 #define NUM_LEN_BITS 5 34 35 #define N(len,offset) (((offset) << NUM_LEN_BITS) + (len)) 36 #define N_LEN(e) ((e) & ((1 << NUM_LEN_BITS) - 1)) 37 #define N_OFFSET(e) ((e) >> NUM_LEN_BITS) 38 39 extern const char gs_c_known_encoding_chars[]; 40 extern const int gs_c_known_encoding_total_chars; 41 extern const int gs_c_known_encoding_max_length; 42 extern const ushort gs_c_known_encoding_offsets[]; 43 extern const int gs_c_known_encoding_count; 44 extern const ushort *const gs_c_known_encodings[]; 45 extern const ushort *const gs_c_known_encodings_reverse[]; 46 extern const ushort gs_c_known_encoding_lengths[]; 47 extern const ushort gs_c_known_encoding_reverse_lengths[]; 48 49 #endif /* gscedata_INCLUDED */ 50