blob: 6f2944b5ecf442ea318bb5cbc6ead3309fe1bbe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
typedef struct _DeviceFont DeviceFont;
typedef struct _Device {
char *name;
int sizescale;
int res;
int unitwidth;
int paperlength;
int paperwidth;
int X11;
DeviceFont *fonts;
} Device;
void device_destroy(Device *);
Device *device_load(const char *);
DeviceFont *device_find_font(Device *, const char *);
int device_char_width(DeviceFont *, int, const char *, int *);
char *device_name_for_code(DeviceFont *, int);
int device_code_width(DeviceFont *, int, int, int *);
int device_font_special(DeviceFont *);
|