Closed axper closed 6 years ago
One extremely hacky way to avoid these gaps is to use a specific font with disabled antialiasing. For example:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<test qual="any" name="family">
<string>NotoSans Nerd Font</string>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
</fontconfig>
separator = "<span font_family='NotoSans Nerd Font'>\ue0b2</span>"
Not sure if it's worth it though, as the result is just as ugly.
Hey, I managed to fix those gaps in i3bar-river by 1) rendering left to right 2) having one pixel overlap between blocks (but this should probably be optional). I wonder if something like this would be accepted upstream.
A picture is worth a thousand words:
As you can see the
<
separators between blocks look kinda ugly and broken, which is not the case in the screenshots I have seen other people have.