[rt #75560] don't fallback to using DynaLoader when XSLoader fails
[imager.git] / T1 / imt1.h
CommitLineData
a556912d
TC
1#ifndef IMAGER_IMT1_H
2#define IMAGER_IMT1_H
3
4#include "imdatatypes.h"
5
6extern undef_int
7i_init_t1(int t1log);
8
9extern void
10i_close_t1(void);
11
12extern int
13i_t1_new(char *pfb,char *afm);
14
15extern int
16i_t1_destroy(int font_id);
17
18extern void
19i_t1_set_aa(int st);
20
21extern undef_int
8d14daab 22i_t1_cp(i_img *im,i_img_dim xb,i_img_dim yb,int channel,int fontnum,double points,char* str,size_t len,int align, int utf8, char const *flags);
a556912d
TC
23
24extern int
8d14daab 25i_t1_bbox(int fontnum,double points,const char *str,size_t len,i_img_dim *cords, int utf8,char const *flags);
a556912d
TC
26
27extern undef_int
8d14daab 28i_t1_text(i_img *im,i_img_dim xb,i_img_dim yb,const i_color *cl,int fontnum,double points,const char* str,size_t len,int align, int utf8, char const *flags);
a556912d
TC
29
30extern int
31i_t1_has_chars(int font_num, const char *text, size_t len, int utf8,
32 char *out);
33
34extern int
35i_t1_face_name(int font_num, char *name_buf, size_t name_buf_size);
36
37extern int
38i_t1_glyph_name(int font_num, unsigned long ch, char *name_buf,
39 size_t name_buf_size);
40#endif