summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/t1_char.h
blob: 5240a3a39cce79343936b197ed0e156e10137ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _T1_CSTR_H_
#define _T1_CSTR_H_

#include "cff_types.h"

typedef struct {
  int use_seac;
  double wx, wy;
  struct {
    double llx, lly, urx, ury;
  } bbox;
  struct {
    double asb, adx, ady;
    card8 bchar, achar;
  } seac;
} t1_ginfo;

extern int  t1char_get_metrics (card8 *src, long srclen,
				cff_index *subrs, t1_ginfo *ginfo);
extern long t1char_convert_charstring (card8 *dst, long dstlen,
				       card8 *src, long srclen,
				       cff_index *subrs,
				       double default_width, double nominal_width,
				       t1_ginfo *ginfo);

#endif /* _T1_CSTR_H_ */