1
0
mirror of https://github.com/tiyn/st synced 2025-11-18 11:59:45 +01:00

scrollback: added ligatures patch

This commit is contained in:
2023-08-22 13:39:16 +02:00
parent c32ee66365
commit dca513f4a4
9 changed files with 927 additions and 119 deletions

14
hb.h Normal file
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 *);