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
3
st/st.h
3
st/st.h
|
|
@ -11,7 +11,8 @@
|
|||
#define DIVCEIL(n, d) (((n) + ((d) - 1)) / (d))
|
||||
#define DEFAULT(a, b) (a) = (a) ? (a) : (b)
|
||||
#define LIMIT(x, a, b) (x) = (x) < (a) ? (a) : (x) > (b) ? (b) : (x)
|
||||
#define ATTRCMP(a, b) ((a).mode != (b).mode || (a).fg != (b).fg || \
|
||||
#define ATTRCMP(a, b) (((a).mode & (~ATTR_WRAP)) != ((b).mode & (~ATTR_WRAP)) || \
|
||||
(a).fg != (b).fg || \
|
||||
(a).bg != (b).bg)
|
||||
#define TIMEDIFF(t1, t2) ((t1.tv_sec-t2.tv_sec)*1000 + \
|
||||
(t1.tv_nsec-t2.tv_nsec)/1E6)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue