This commit is contained in:
speediegq 2022-08-18 18:12:03 +02:00
parent 9476f16835
commit 3e5ed749db
3 changed files with 25 additions and 2 deletions

View file

@ -1 +1,22 @@
patchlist, not complete yet patchlist, not complete yet
st-title-parsing-fix
st-boxdraw
st-scrollback
st-scrollback-mouse
st-boldisnotbright
st-ligatures
st-xresources
st-w3m
st-clipboard
st-columns
st-blinkingcursor
st-alpha
st-desktopentry
st-dynamiccursorcolor
st-font2
st-netwmicon
st-clickurls
st-vertcenter
st-xclearwin
st-charoffsets

View file

@ -91,6 +91,8 @@ static unsigned int defaultattr = 11;
/* Text rendering options */ /* Text rendering options */
static float cwscale = 1.0; static float cwscale = 1.0;
static float chscale = 1.0; static float chscale = 1.0;
static short cxoffset = 0; /* Horizontal character rendering offsets in pixels */
static short cyoffset = 0; /* Vertical character rendering offsets in pixels */
static double minlatency = 8; /* Minimum draw latency in milliseconds */ static double minlatency = 8; /* Minimum draw latency in milliseconds */
static double maxlatency = 33; /* Max draw latency in milliseconds */ static double maxlatency = 33; /* Max draw latency in milliseconds */
static uint su_timeout = 200; /* Synchronized timeout in milliseconds */ static uint su_timeout = 200; /* Synchronized timeout in milliseconds */

4
x.c
View file

@ -1500,8 +1500,8 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x
if (glyphidx) { if (glyphidx) {
specs[numspecs].font = font->match; specs[numspecs].font = font->match;
specs[numspecs].glyph = glyphidx; specs[numspecs].glyph = glyphidx;
specs[numspecs].x = (short)xp; specs[numspecs].x = (short)xp + cxoffset;
specs[numspecs].y = (short)yp; specs[numspecs].y = (short)yp + cyoffset;
xp += runewidth; xp += runewidth;
numspecs++; numspecs++;
continue; continue;