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

2016-03-08 Thread Christoph Lohmann
Greetings. On Tue, 08 Mar 2016 15:44:58 +0100 Ton van den Heuvel wrote: > 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. Thanks for the patch, it is now in mainl

Re: [dev] [PATCH] Measure the single advance width with a heuristic method

2016-03-08 Thread Ryusei Yamaguchi
Hi. On 2016/03/08 21:48, Christoph Lohmann wrote: Thanks for changing the patch. I have applied it to mainline. Please still consider changing libxft or fontconfig or contributing to dtext for a suckless font rendering library. Ok. I'll make an effort. Thanks, Ryusei

Re: [dev] [PATCH] Measure the single advance width with a heuristic method

2016-03-08 Thread Christoph Lohmann
Greetings. On Tue, 08 Mar 2016 13:48:59 +0100 Ryusei Yamaguchi wrote: > This fix is needed to use dual-width fonts, which have double-width > glyphs (e.g. CJK unified ideographs). Thanks for changing the patch. I have applied it to mainline. Please still consider changing libxft or fontconfi

Re: [dev] [PATCH] Measure the single advance width with a heuristic method

2016-03-08 Thread Silvan Jegen
Hi On Tue, Mar 8, 2016 at 4:26 AM, Ryusei Yamaguchi wrote: > This fix is needed to use dual-width fonts, which have double-width > glyphs (e.g. CJK unified ideographs). > > Signed-off-by: Ryusei Yamaguchi > --- > config.def.h | 8 > st.c | 8 +++- > 2 files changed, 15 inse