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

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

2016-03-07 Thread Ryusei Yamaguchi
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 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index

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

2016-03-07 Thread Ryusei Yamaguchi
On 2016/03/07 22:53, Christoph Lohmann wrote: Please give me more context, like a screenshot before and after and why this can't be fixed in fontconfig itself. This would be yet another fontconfig API hack in st. Step to Reproduce: 1. Install M+ 1m from https://osdn.jp/projects/mplus-fonts/re

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

2016-03-06 Thread Ryusei Yamaguchi
This fix is needed to use dual-width fonts, which have double-width glyphs (e.g. CJK unified ideographs). Signed-off-by: Ryusei Yamaguchi --- st.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index 0536b6f..fc49e67 100644 --- a/st.c +++ b/st.c