Squares instead of tabs (Xft)

Lucien Gentis lucien.gentis at univ-lorraine.fr
Mon Dec 9 17:43:56 UTC 2019


Hello,

Tab is not a printable character.

I think you have to scan each string you want to display in order to 
replace each encountered tab with a certain number of spaces.

Le 05/12/2019 à 21:28, Радомир Хаџић a écrit :
> Hello.
>
> I'm using XftDrawStringUtf8() function to display text. But this
> function for some reason displays tabs as squares, instead of drawing
> them the usual way (as spacing), which is what I want.
>
> Any way to get Xft to draw them like spacing (ideally, as 4 or 8 space
> characters)?
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s


More information about the xorg mailing list