Re: [dev] [PATCH] [st] Fix issues with wcwidth() returning -1 for unsupported unicode chars

From: Ismael Luceno <ismael.luceno_AT_gmail.com>
Date: Tue, 28 Oct 2014 17:14:59 -0300

On Sat, Oct 25, 2014 at 11:15 PM, dequis <dx_AT_dxzone.com.ar> wrote:
<...>
> My patch:
>
> Just wcwidth(...) -> abs(wcwidth(...))
>
> In other words: if wcwidth returns -1, interpret that as a column
> width of 1. It's a bit dirty and lazy, but it works wonderfully for
> most characters.
<...>

It's better than nothing, but I guess Xft could offer much better
advice with XftTextExtents*.
Received on Tue Oct 28 2014 - 21:14:59 CET

This archive was generated by hypermail 2.3.0 : Tue Oct 28 2014 - 21:24:07 CET