Re: [dev] Re: [st] [PATCH] Converted "font" string to "fonts" array

2016-08-01 Thread Ton van den Heuvel
On Mon, Aug 1, 2016 at 3:49 PM, FRIGN wrote: > > just update your patch and attach it to your response. Fallback fonts can already be configured through Fontconfig, why does st need separate functionality for this?

[dev] Re: [PATCH] Fix vertical character alignment in some cases

2016-03-07 Thread Ton van den Heuvel
To illustrate this, have a look at the 'branch' character before: http://i.imgur.com/ymuPXAm.png ...and after: http://i.imgur.com/f2J2Ozs.png Ton On Mon, Mar 7, 2016 at 10:18 PM, Ton van den Heuvel wrote: > The y-position of a character found by asking fontconfig for a matching &g

[dev] [PATCH] Fix vertical character alignment in some cases

2016-03-07 Thread Ton van den Heuvel
The y-position of a character found by asking fontconfig for a matching font does not take the border pixels into account, resulting in a slightly misaligned vertical position. Signed-off-by: Ton van den Heuvel --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b

Re: [dev] [st] [patch] Remove redundant xtermclear code

2016-03-07 Thread Ton van den Heuvel
Will do, thanks for including the change! On Mon, Mar 7, 2016 at 2:33 PM, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > > On Mon, 07 Mar 2016 14:33:54 +0100 Ton van den Heuvel > wrote: >> In case anything gets drawn in drawregion, xdrawglyphfontspecs ensures

[dev] [st] [patch] Remove redundant xtermclear code

2016-03-02 Thread Ton van den Heuvel
In case anything gets drawn in drawregion, xdrawglyphfontspecs ensures that the region that needs to be drawn to is cleaned up. In case this patch is not accepted; the current code contains an issue; -xtermclear(0, y, term.col, y); +xtermclear(0, y, term.col-1, y); Ton diff --git