1
/* $Header: /home/cvsroot/dvipdfmx/src/dpxfile.h,v 1.11 2011/03/06 03:07:03 chofchof Exp $
3
This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
5
Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata,
6
the dvipdfmx project team <dvipdfmx@project.ktug.or.kr>
8
Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu>
10
This program is free software; you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation; either version 2 of the License, or
13
(at your option) any later version.
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
28
#define DPX_CONFIG_FILE "dvipdfmx.cfg"
30
#define DPX_RES_TYPE_FONTMAP 0x00
32
#define DPX_RES_TYPE_T1FONT 0x10
33
#define DPX_RES_TYPE_TTFONT 0x11
34
#define DPX_RES_TYPE_OTFONT 0x12
35
#define DPX_RES_TYPE_PKFONT 0x13
36
#define DPX_RES_TYPE_DFONT 0x14
38
#define DPX_RES_TYPE_ENC 0x20
39
#define DPX_RES_TYPE_CMAP 0x21
40
#define DPX_RES_TYPE_SFD 0x22
41
#define DPX_RES_TYPE_AGL 0x23
43
#define DPX_RES_TYPE_ICCPROFILE 0x30
45
#define DPX_RES_TYPE_BINARY 0x40
46
#define DPX_RES_TYPE_TEXT 0x41
49
extern FILE *dpx_open_file (const char *filename, int type);
51
#define DPXFOPEN(n,t) dpx_open_file((const char *)(n),(t))
52
#define DPXFCLOSE(f) MFCLOSE((f))
54
extern void dpx_file_set_verbose (void);
56
extern int dpx_file_apply_filter (const char *cmdtmpl,
57
const char *input, const char *output,
58
unsigned char version);
59
extern char *dpx_create_temp_file (void);
60
extern void dpx_delete_temp_file (char *tmp); /* tmp freed here */
62
#endif /* _DPXFILE_H_ */