[dev] [st] WM_DELETE_WINDOW patch

2012-10-05 Thread David Dufberg Töttrup
Hi! I noticed that st doesn't handle WM_DELETE_WINDOW. Patch attached. Daviddiff -r b0c5f18fa666 st.c --- a/st.c Fri Oct 05 11:07:55 2012 +0200 +++ b/st.c Fri Oct 05 18:42:14 2012 +0200 @@ -198,6 +198,7 @@ Window win; XdbeBackBuffer buf; Atom xembed; + Atom wmdeletewin; XIM xim; XIC xi

Re: [dev] antialiased fonts in st

2012-10-05 Thread hiro
After experimenting around with cleartype I found a really appealing setting on windows 7. I have slightly more than 100dpi, and don't sit too near to my monitor. But never managed to do the same on linux. There I simply use crisp, well-hinted microsoft fonts without anti-anything.

Re: [dev] antialiased fonts in st

2012-10-05 Thread Christoph Lohmann
Hello. On Fri, 05 Oct 2012 11:08:07 +0200 pancake wrote: > I'm suggesting this change because truetyped fonts with antialias are hard > to read, probably more than transparent terminals. Thanks for the hint. Yes, if displays stay as small as they are an‐ tialias is really no good default op

Re: [dev] [st] A call for our non-Latin users.

2012-10-05 Thread Petr Šabata
On Fri, Oct 05, 2012 at 10:47:48AM +0200, Christoph Lohmann wrote: > Greetings. > > While adding more font support to st I was thinking about how to add for > example the big Chinese or Japanese gylphs to st. > > If you are regularly using non‐Latin gylphs in your terminals, please > tell me w

Re: [dev] [st] [PATCH] no bright bold

2012-10-05 Thread Peter A. Shevtsov
On 05/10/12 at 04:10pm, Peter A. Shevtsov wrote: > Hello. > > On 05/10/12 at 10:30am, Christoph Lohmann wrote: > > Hello. > > > > On Fri, 05 Oct 2012 10:30:04 +0200 "Peter A. Shevtsov" > > wrote: > > > And another one. > > > > > > Since it was corrected in changeset 345 it seems that it should

Re: [dev] [st] [PATCH] no bright bold

2012-10-05 Thread Peter A. Shevtsov
Hello. On 05/10/12 at 10:30am, Christoph Lohmann wrote: > Hello. > > On Fri, 05 Oct 2012 10:30:04 +0200 "Peter A. Shevtsov" > wrote: > > And another one. > > > > Since it was corrected in changeset 345 it seems that it should be done > > once more. > > It was reapplied, because that’s how it

[dev] [st] A call for our non-Latin users.

2012-10-05 Thread Christoph Lohmann
Greetings. While adding more font support to st I was thinking about how to add for example the big Chinese or Japanese gylphs to st. If you are regularly using non‐Latin gylphs in your terminals, please tell me what terminal you are using for this and how you prefer to dis‐ play them inlin

[dev] antialiased fonts in st

2012-10-05 Thread pancake
I'm suggesting this change because truetyped fonts with antialias are hard to read, probably more than transparent terminals. Note that i have copypasted this diff from an st terminal, so there are spaces at the end of each line (this was not happening before) [pancake@bitbox st]$ hg diff diff

Re: [dev] [st] [PATCH] no bright bold

2012-10-05 Thread Christoph Lohmann
Hello. On Fri, 05 Oct 2012 10:30:04 +0200 "Peter A. Shevtsov" wrote: > And another one. > > Since it was corrected in changeset 345 it seems that it should be done once > more. It was reapplied, because that’s how it should be. If something is high‐ lighted using bold it is changed to a brigh

[dev] [st] [PATCH] no bright bold

2012-10-05 Thread Peter A. Shevtsov
And another one. Since it was corrected in changeset 345 it seems that it should be done once more. diff -r f80a970a2fda st.c --- a/st.c Fri Oct 05 09:38:10 2012 +0200 +++ b/st.c Fri Oct 05 14:54:00 2012 +0700 @@ -2193,7 +2193,6 @@ if(base.mode & ATTR_REVERSE) te

Re: [dev] [st] [PATCH] fix underline

2012-10-05 Thread Christoph Lohmann
Hello. On Fri, 05 Oct 2012 09:38:16 +0200 "Peter A. Shevtsov" wrote: > Hello, > > I've noticed that underlined text displays incorrect in the recent st hg tip. > So > I made this patch. Thank you for sending that patch. Yeah, while changing the drawing be‐ havour of st I forgot to change it

[dev] [st] [PATCH] fix underline

2012-10-05 Thread Peter A. Shevtsov
Hello, I've noticed that underlined text displays incorrect in the recent st hg tip. So I made this patch. diff -r 097a8580d33c st.c --- a/st.c Thu Oct 04 22:59:45 2012 +0200 +++ b/st.c Fri Oct 05 14:39:03 2012 +0700 @@ -2234,7 +2234,7 @@ winy + font->ascent, (FcC