Debian Codegraph @

texk/dvipdfm-x/cid.h

raw
1 /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
2
3 Copyright (C) 2002-2020 by Jin-Hwan Cho and Shunsaku Hirata,
4 the dvipdfmx project team.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19 */
20
21 #ifndef _CID_H_
22 #define _CID_H_
23
24 #include "pdffont.h"
25
26 extern CIDSysInfo CSI_IDENTITY;
27 extern CIDSysInfo CSI_UNICODE;
28
29 extern int opt_flags_cidfont;
30 extern void CIDFont_set_flags (int flags);
31
32 #define CIDFONT_FORCE_FIXEDPITCH (1 << 1)
33
34 extern char *CIDFont_get_usedchars (pdf_font *font);
35 extern char *CIDFont_get_usedchars_v (pdf_font *font);
36
37 extern int CIDFont_is_ACCFont (pdf_font *font);
38 extern int CIDFont_is_UCSFont (pdf_font *font);
39
40 #include "fontmap.h"
41 extern int pdf_font_cidfont_lookup_cache (pdf_font *fonts, int count, const char *map_name,
42 CIDSysInfo *cmap_csi, const fontmap_opt *fmap_opt);
43 extern int pdf_font_open_cidfont (pdf_font *font, const char *map_name,
44 CIDSysInfo *cmap_csi, const fontmap_opt *fmap_opt);
45 extern void pdf_font_load_cidfont (pdf_font *font);
46
47 #endif /* _CID_H_ */