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:
Alejandro Guerrero 2026-09-25 10:57:35 +02:00
parent b23ab3e35d
commit 0c47f8d9fb
12 changed files with 1275 additions and 166 deletions

14
st/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 *);