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] Control characters patches

2012-09-26 Thread Roberto E. Vargas Caballero
Hello, These patches fix some control codes problems. Sincerely. From 2a346a24efb6a79d25dcfa1d0fb718267b8f6bac Mon Sep 17 00:00:00 2001 From: Roberto E. Vargas Caballero k...@shike2.com Date: Mon, 24 Sep 2012 23:03:34 +0200 Subject: Ignore all control characters not handled Taken from