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 27 28 29 30 31 32 33 34 35 36
|
#define DEF_WIDTH 640
#define DEF_HEIGHT 480
#include "driver.h"
extern const struct driver *driver;
/* Utility Functions */
/* Font.c */
int font_get_type(void);
const char *font_get_encoding(void);
/* Text2.c */
void get_text_ext(const char *, double *, double *, double *, double *);
void soft_text(const char *);
/* Text3.c */
void soft_text_freetype(const char *);
void get_text_ext_freetype(const char *, double *, double *, double *,
double *);
/* font2.c */
int font_init(const char *);
int get_char_vects(unsigned char, int *, unsigned char **, unsigned char **);
/* font_freetype.c */
int font_init_freetype(const char *, int);
const char *font_get_freetype_name(void);
int font_get_index(void);
/* parse_ftcap.c */
extern int font_exists(const char *);
extern int parse_fontcap_entry(struct GFONT_CAP *, const char *);
extern struct GFONT_CAP *parse_fontcap(void);
extern void free_fontcap(struct GFONT_CAP *);
|