weechat-android icon indicating copy to clipboard operation
weechat-android copied to clipboard

Nicks with wide characters are not rendered with correct tabulation

Open bqv opened this issue 4 years ago • 1 comments

Hello.

Using weechat for a niche circumstance (xmpp, http://github.com/bqv/weechat-xmpp by me).

I see a user with hanzi characters in their name, looks like it breaks your expectations and therefore rendering. Any chance of a fix?

20210708_181749272_7506

Thanks

bqv avatar Jul 08 '21 17:07 bqv

this is an issue that might be a bit hard to fix. currently the whole line is printed in one stroke; we'd need to draw the prefix separately to address this. this might require a bit of change. another problem is, the nickname might not fit the allotted space and some logic will be required to cut it up. fixing this would allow using proportional fonts with the text alignment as in the screenshot, which would be quite nice

oakkitten avatar Jul 11 '21 16:07 oakkitten