[dev] St xft drawing bugs

2012-10-04 Thread Edgaras
I just did hg pull;rm config.h;make;./st so it should be tip st with default config. And here are drawing problems I talked about. Not that remaining pixels from deleted accentes letters dissapear after pressing return in shell, supposedly they get cleaned up when scrolling. attachment:

Re: [dev] St xft drawing bugs

2012-10-04 Thread Andrew Hills
On Thu, Oct 4, 2012 at 9:15 AM, Edgaras dev...@gmail.com wrote: I just did hg pull;rm config.h;make;./st so it should be tip st with default config. Don't forget hg up. --Andrew Hills

Re: [dev] [st] xft: line drawing

2012-09-26 Thread Christoph Lohmann
Greetings comrades. You guys forced me to do it. Attached is a preliminary patch to add line drawing, which is using UTF-8 characters, to the latest tip of st. There are bugs: * the implementation is a pure hack (It is a proof of concept. Some people really seem to need those line drawing

Re: [dev] [st] xft: line drawing

2012-09-26 Thread Brandon Invergo
For those alternative charsets remapping some ranges of the symbols is required, which could be easily done using UTF=E2=80=908 characters. But how exactly should this work? I tried naively just filling gfx[] with the appropriate mappings (i.e. ['x'] =3D '|' (pretend that's the unicode vertical

Re: [dev] [st] xft: line drawing

2012-09-26 Thread Roberto E. Vargas Caballero
On Wed, Sep 26, 2012 at 08:49:43AM +0200, Christoph Lohmann wrote: Greetings comrades. You guys forced me to do it. Attached is a preliminary patch to add line drawing, which is using UTF-8 characters, to the latest tip of st. Testing your patch, I saw that mutt doesn't use never \033 ( 0. I

Re: [dev] [st] xft: line drawing

2012-09-26 Thread Christoph Lohmann
Greetings comrades. In tip is now a better implementation of this alternative charset. It does the linedrawing in alsamixer correctly, when using the Liberation Mono font, which is just because of this reason now the default font for st. When the font symbol selection is fixed this may

[dev] [st] xft: line drawing

2012-09-25 Thread Brandon Invergo
Line drawing seems to be broke using the latest tip of st. I've tried it with the default config.def.h as well as using some other fonts but with no luck. I tried changing the gfx[] array contents in config.def.h except its use is rather opaque and I couldn't get anything to work. Anyone else

Re: [dev] [st] xft: line drawing

2012-09-25 Thread Roberto E. Vargas Caballero
Line drawing seems to be broke using the latest tip of st. I've tried it I also have problems with them. Using the default font I have some problems with line drawings and attributes (for example http://www.shike2.com/st.png). Is it the problem you have?. Best regards,

Re: [dev] [st] xft: line drawing

2012-09-25 Thread Kurt H Maier
On Tue, Sep 25, 2012 at 05:47:07PM +0200, Brandon Invergo wrote: Anyone else have this problem or is it just me? we have to find out if it's working on christophms mac or it won't get fixed

Re: [dev] [st] xft: line drawing

2012-09-25 Thread Martti Kühne
On Tue, Sep 25, 2012 at 9:24 PM, Kurt H Maier khm-suckl...@intma.in wrote: On Tue, Sep 25, 2012 at 05:47:07PM +0200, Brandon Invergo wrote: Anyone else have this problem or is it just me? works here. but long shot what I did to make it work. maybe I'm just using tmux which handles line

Re: [dev] [st] xft: line drawing

2012-09-25 Thread Thuban
I noticed this problem too. Lines are replaced by some strange small squares. Le 17:47:07 le 25 sept. 2012 , Brandon Invergo a écrit : Line drawing seems to be broke using the latest tip of st. I've tried it with the default config.def.h as well as using some other fonts but with no luck. I

Re: [dev] [st] xft: line drawing

2012-09-25 Thread Christoph Lohmann
Greetings comrades. On Wed, 26 Sep 2012 07:18:49 +0200 Thuban thu...@singularity.fr wrote: I noticed this problem too. Lines are replaced by some strange small squares. A »strange small square« means in xft that your font is missing some‐ thing. The line drawing issue is a bit more complex.

Re: [dev] [st] xft

2012-09-20 Thread Roberto E. Vargas Caballero
Please report back if it works. I will then simply apply it. It is not working fine for me. It seems have some problems with the size of the fonts. XIC xic; + XftDraw *xft_draw; + Visual *vis; int scr; Bool isfixed; /* is fixed geometry? */ int fx, fy, fw,

[dev] [st] xft

2012-09-19 Thread Christoph Lohmann
Greetings. Attached is a port of the xft branch to the current tip of st. It will activate xft support and more fonts than just corefonts. I really tried to find corefonts that would look good and represent nearly all unicode characters – it's impossible. Please report back if it works. I will

Re: [dev] [st] xft

2012-09-19 Thread Peter Hartman
What was wrong with -f commandline switch from the xft branch? Half the point is to avoid having to compile a unique binary per font. But whatever 2012/9/19 Christoph Lohmann 2...@r-36.net: Greetings. Attached is a port of the xft branch to the current tip of st. It will activate xft