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

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Tue, 8 Mar 2016 10:23:01 +0100

Hi

On Tue, Mar 8, 2016 at 4:26 AM, Ryusei Yamaguchi <mandel59_AT_gmail.com> 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 <mandel59_AT_gmail.com>
> ---
> config.def.h | 8 ++++++++
> st.c | 8 +++++++-
> 2 files changed, 15 insertions(+), 1 deletion(-)

I have tested the patch with the mplus font and the result looks much
better indeed.

I don't know how commonly used those fonts are but they may be rather
prevalent in Japan. If we want people preferring these fonts to be
able to use st we should take this patch (or one with the same
functionality).


Cheers,

Silvan
Received on Tue Mar 08 2016 - 10:23:01 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 08 2016 - 10:24:09 CET