st-flexipatch

My st-flexipatch configuration
git clone git://git.ethandl.dev/st-flexipatch
Log | Files | Refs | README | LICENSE

hb.h (354B)


      1 #include <X11/Xft/Xft.h>
      2 #include <hb.h>
      3 #include <hb-ft.h>
      4 
      5 typedef struct {
      6 	hb_buffer_t *buffer;
      7 	hb_glyph_info_t *glyphs;
      8 	hb_glyph_position_t *positions;
      9 	unsigned int count;
     10 } HbTransformData;
     11 
     12 void hbcreatebuffer(void);
     13 void hbdestroybuffer(void);
     14 void hbunloadfonts(void);
     15 void hbtransform(HbTransformData *, XftFont *, const Glyph *, int, int);