aboutsummaryrefslogtreecommitdiff
path: root/keep/manual-programs/suckless/st-flexipatch/hb.h
blob: cb7ea48119eee4aa353ec124e2bb270b919e19d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <X11/Xft/Xft.h>
#include <hb.h>
#include <hb-ft.h>

typedef struct {
	hb_buffer_t *buffer;
	hb_glyph_info_t *glyphs;
	hb_glyph_position_t *positions;
	unsigned int count;
} HbTransformData;

void hbcreatebuffer(void);
void hbdestroybuffer(void);
void hbunloadfonts(void);
void hbtransform(HbTransformData *, XftFont *, const Glyph *, int, int);