3 #define _XFT_NO_COMPAT_ /* no Xft 1 API */
4 #include <X11/Xft/Xft.h>
6 #include "kernel/geom.h"
13 void font_startup(void);
14 RrFont *font_open(char *fontstring);
15 void font_close(RrFont *f);
16 int font_measure_string(RrFont *f, char *str, int shadow, int offset);
17 int font_height(RrFont *f, int shadow, int offset);
18 int font_max_char_width(RrFont *f);
19 void font_draw(XftDraw *d, RrTextureText *t, Rect *position);