On Tue, Feb 21, 2012 at 11:46 AM, DR <[email protected]> wrote:
> On Mon, Feb 20, 2012 at 7:14 AM, Fernando Lemos <[email protected]> wrote:
>> On Sun, Feb 19, 2012 at 11:27 AM, Fernando Lemos <[email protected]> 
>> wrote:
>>> Hi,
>>>
>>> On Sun, Feb 19, 2012 at 7:54 AM, DR <[email protected]> wrote:
>>>> If you send me the patch, I'd be glad to test it.
>>>
>>> 1/2: http://pastebin.com/Kw6srqZE
>>
>> Ugh. A revised patch that takes into account the alpha component in colors:
>>
>> 1/2: http://pastebin.com/zuyTSXKB
>
> I'm running i3 with your patch now.
> While i3 is working well with this patch, I notice some glitches.
>
> The text's width seems to be mis-calculated, resulting in window title
> being truncated even if the text string is far from filling the whole
> title bar.

Can you post a screenshot of this specific problem? If the text width
were being miscalculated somehow (we use Pango itself to determine the
text width), it would be terminated with ellipsis.

> Another thing I notice is that the string seems to be truncated to a
> 'wrong' length, leaves some trailing, undisplayable characters.
>
> These glitches mainly occur if non-english characters are involved.

I noticed that too, but I thought it was something with my fonts. Can
you confirm that it works with, say, Openbox (which also uses Pango
for rendering)?

I think it could be a bug in the UCS-2 -> UTF-8 conversion, I'll take
a look at it.

Regards,
Fernando

Reply via email to