2

I am trying to make non-monospace fonts work in Suckless's simple terminal. I have an issue with FontAwesome larger glyphs (e.g. with battery glyphs being overlapped by other characters.

I have tried to apply the font2 patch to add FontAwesome as fallback font, it did not improve the situation.

static char *font2[] = {
    "FontAwesome:pixelsize=11:antialias=true:autohint=true" 
    //FontAwesome as font name works in other programs (such as i3blocks)
};

// Note: I have applied the complete patch, not only these lines.

Is there something that I am missing?

Thanks.

skink
  • 5,133
  • 6
  • 37
  • 58
Noah Boegli
  • 750
  • 1
  • 7
  • 24

1 Answers1

1

You got the names wrong.

static char *font2[] = {
    "Font Awesome 5 Free:pixelsize=11:antialias=true:autohint=true",
    "Font Awesome 5 Brands:pixelsize=11:antialias=true:autohint=true",
};