aboutsummaryrefslogtreecommitdiff
path: root/hb.h
diff options
context:
space:
mode:
authorMarcel Screm <marcel@marcelscrem.com>2026-01-05 16:02:48 +0100
committerMarcel Screm <marcel@marcelscrem.com>2026-01-05 16:02:48 +0100
commit59d71f7a84b6f87002fab21a74f1f8f360eb136a (patch)
treed19d2c951ba4dc09a1543fc4dc2caaa7fc007695 /hb.h
parent8cac90eb30e53bebf8b884a60b2cc75ec7c83f5f (diff)
added ligature patch
Diffstat (limited to 'hb.h')
-rw-r--r--hb.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/hb.h b/hb.h
new file mode 100644
index 0000000..96e808b
--- /dev/null
+++ b/hb.h
@@ -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 *);
+