~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to texk/dvipdfmx/dvipdfmx-20120420/src/dpxfile.h

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-05-07 10:47:49 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20120507104749-p00ot5sajjbkp1hp
Tags: 2011.20120507-1
* new upstream checkout: uptex 1.10
* drop patches for config file inclusion in (x)dvipdfmx, included upstream
* add man page for etex
* include pmpost patches and build it
* adapt/unfuzzify patches for current sources
* disable mtx building, we have prepmx package in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  $Header: /home/cvsroot/dvipdfmx/src/dpxfile.h,v 1.11 2011/03/06 03:07:03 chofchof Exp $
 
2
    
 
3
    This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
 
4
 
 
5
    Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata,
 
6
    the dvipdfmx project team <dvipdfmx@project.ktug.or.kr>
 
7
    
 
8
    Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu>
 
9
 
 
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.
 
14
    
 
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.
 
19
    
 
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.
 
23
*/
 
24
 
 
25
#ifndef _DPXFILE_H_
 
26
#define _DPXFILE_H_
 
27
 
 
28
#define DPX_CONFIG_FILE "dvipdfmx.cfg"
 
29
 
 
30
#define DPX_RES_TYPE_FONTMAP  0x00
 
31
 
 
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
 
37
 
 
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
 
42
 
 
43
#define DPX_RES_TYPE_ICCPROFILE 0x30
 
44
 
 
45
#define DPX_RES_TYPE_BINARY   0x40
 
46
#define DPX_RES_TYPE_TEXT     0x41
 
47
 
 
48
#include "mfileio.h"
 
49
extern FILE *dpx_open_file (const char *filename, int type);
 
50
 
 
51
#define DPXFOPEN(n,t)  dpx_open_file((const char *)(n),(t))
 
52
#define DPXFCLOSE(f)   MFCLOSE((f))
 
53
 
 
54
extern void  dpx_file_set_verbose  (void);
 
55
 
 
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 */
 
61
 
 
62
#endif /* _DPXFILE_H_ */