add ligatures

This commit is contained in:
doryan committed 2024-09-10 18:43:02 +04:00
1 parent 965a87fa2d
commit 2788c027f8
13 files changed
+853 -126

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#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 *);