On 2026-06-30 12:52, Ross Schlaikjer wrote:
It seems like the rxvt_font_default::draw() method handles zero-width characters by just skipping them, so I applied this to the _xft and _x11 versions as well, which appears to have fixed the issue (my font is xft:Unifont:pixelsize=24).

The function rxvt_font_xft::draw() in src/rxvtfont.C has a comment saying

xft/freetype represent combining characters as characters with zero width rendered over the previous character with some fonts, while in other fonts […]

Are you sure that your patch won't break combining characters that are represented in this first way?


_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to