patch: ligatures

This commit is contained in:
2026-01-05 20:42:46 -05:00
parent 7ae65ec8ed
commit 2900f20078
2 changed files with 140 additions and 0 deletions

15
hb.h Normal file
View File

@@ -0,0 +1,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 hbunloadfonts();
void hbtransform(HbTransformData *, XftFont *, const Glyph *, int, int);
void hbcleanup(HbTransformData *);