st: parches ligatures (0.9.3), alpha y anysize
Aplicados en ese orden desde st/patches/. anysize se resolvió a mano en xmakeglyphfontspecs() y xdrawglyphfontspecs() (usar win.hborderpx y win.vborderpx en vez de borderpx), y lo mismo para la posición del IME. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b23ab3e35d
commit
0c47f8d9fb
12 changed files with 1275 additions and 166 deletions
14
st/hb.h
Normal file
14
st/hb.h
Normal 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 *);
|
||||
Loading…
Add table
Add a link
Reference in a new issue