ligatures: upgrading patch

This commit is contained in:
Bakkeby 2022-12-19 10:09:06 +01:00
parent e6a2fb489c
commit bd370228a4
3 changed files with 192 additions and 82 deletions

10
hb.h
View file

@ -2,5 +2,13 @@
#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(XftGlyphFontSpec *, const Glyph *, size_t, int, int);
void hbtransform(HbTransformData *, XftFont *, const Glyph *, int, int);
void hbcleanup(HbTransformData *);