alacritty: Inconsistent fonconfig fallback

Unlike gnome-terminal, alacritty does not seem to be properly loading the powerline fallback fonts. These are e.g. Provided by the powerline-fonts package.

This is on Fedora Linux.

I’m not sure what else to supply to help debug this, since I’m not quite familiar with how fontconfig does stuff.

It appears to be working in any libvte based terminal, but not in urxvt or alacritty

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 15 (6 by maintainers)

Commits related to this issue

Most upvoted comments

The entire fontconfig fallback was reworked and now should match the result of `fc-match -s “FONT_NAME:pixelsize=SIZE:style=STYLE”.

Please, is there any fix or workaround? I still face to this problem - incorrect font rendering. Related issue: #2055

Screenshot from 2019-08-04 21-14-24

Apologies for what will essentially be a “me too”. I’m seeing this on Manjaro: Package powerline-fonts installed, which provides these files:

/etc/fonts/conf.avail/10-powerline-symbols.conf
/etc/fonts/conf.d/10-powerline-symbols.conf
/usr/share/fonts/OTF/PowerlineSymbols.otf
/usr/share/licenses/powerline-fonts

10-powerline-symbols.conf is the fontconfig file which sets up fallback. gnome-terminal and kitty both work.

Alacritty version 0.3.2.

I believe we came to the conclusion that Alacritty either does something wrong with fontconfig fallbacks, or VTE extends the functionality of fontconfig to do something special on top of the normal fallback fontconfig provides.

My guess is the former. Kitty seems to handle the fallbacks fine, but alacritty doesn’t (at least on archlinux). And kitty isn’t VTE based. (although it’s possible it replicates something extra that VTE does).

Oh right, I was just looking through issues and forgot that we’ve looked into this before.

I believe we came to the conclusion that Alacritty either does something wrong with fontconfig fallbacks, or VTE extends the functionality of fontconfig to do something special on top of the normal fallback fontconfig provides.

I believe there are quite a few issues which are very similar to this, I’ll try to redirect them here whenever I find some.

It was installed by my distros powerline-fonts package and it works in gnome-terminal, so yes.

It might be helpful if I post the IRC logs so we don’t have to re-debug this again.