dotfiles/.config/suckless/st/hb.h

16 lines
354 B
C
Raw Normal View History

2024-04-23 04:34:15 +02:00
#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;
2024-04-24 05:45:13 +02:00
void hbcreatebuffer(void);
void hbdestroybuffer(void);
void hbunloadfonts(void);
2024-04-23 04:34:15 +02:00
void hbtransform(HbTransformData *, XftFont *, const Glyph *, int, int);