summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/t1_char.h
blob: 74b2bfdd33f250852a2a01a9ddd6edc72d327564 (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, int srclen,
				cff_index *subrs, t1_ginfo *ginfo);
extern int  t1char_convert_charstring (card8 *dst, int dstlen,
				       card8 *src, int srclen,
				       cff_index *subrs,
				       double default_width, double nominal_width,
				       t1_ginfo *ginfo);

#endif /* _T1_CSTR_H_ */