You are not logged in.

#26 2024-04-14 00:07:26

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: rxvt-unicode-truecolor - truncated symbols in variable-width fonts

Testing and playing around with that it's actually (likely) the escape sequencing.

printf '\e[34m\Uf016a \e[0m\Uf016a\n'

prints fine

printf '\e[34m\Uf016a\e[0m \Uf016a\n'

doesn't

On top of that the behavior is size dependent, eg. w/ pixelsize=19 pixels drop out of the box, w/ pixelsize=18 you see a subpixel still painted, but that's just to throw you off.
The bug (in the wide-glyph patch, I assume) is that tailing escape sequences aren't properly handled and that gets exposed because the particular glyph also covers the entire box.

Offline

#27 2024-04-14 00:39:50

whiteman808
Member
Registered: 2024-04-13
Posts: 22

Re: rxvt-unicode-truecolor - truncated symbols in variable-width fonts

What can I do to display properly fonts and symbols?

Last edited by whiteman808 (2024-04-14 00:40:07)

Offline

#28 2024-04-14 06:44:58

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: rxvt-unicode-truecolor - truncated symbols in variable-width fonts

1. Clever positioning of spaces and escape sequences (afaict this really only ever happens if the wide char is the last in a format sequence, so you want tailing spaces, not headign ones)
2. Fix the wide-glyph patch.

Offline

Board footer

Powered by FluxBB