2020-06-05 11:43:14 +00:00
|
|
|
#include <X11/Xft/Xft.h>
|
|
|
|
#include <hb.h>
|
|
|
|
#include <hb-ft.h>
|
|
|
|
|
2022-12-19 09:09:06 +00:00
|
|
|
typedef struct {
|
|
|
|
hb_buffer_t *buffer;
|
|
|
|
hb_glyph_info_t *glyphs;
|
|
|
|
hb_glyph_position_t *positions;
|
|
|
|
unsigned int count;
|
|
|
|
} HbTransformData;
|
|
|
|
|
2020-06-05 11:43:14 +00:00
|
|
|
void hbunloadfonts();
|
2022-12-19 09:09:06 +00:00
|
|
|
void hbtransform(HbTransformData *, XftFont *, const Glyph *, int, int);
|
|
|
|
void hbcleanup(HbTransformData *);
|