summaryrefslogtreecommitdiff
path: root/archive/st/hb.h
blob: 0e8c1a4ec56dea6695509d44b4ea7db6a0e6dee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <X11/Xft/Xft.h>
#include "/usr/include/harfbuzz/hb.h"
#include "/usr/include/harfbuzz/hb-ft.h"

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

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