Users browsing this thread: 2 Guest(s)
z3bra
Grey Hair Nixers
I made some research on the topic because I wanted cool emojis in the terminal. Ended up managing it directly with the fontconfig configuration XML:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- $HOME/.config/fontconfig/fonts.conf -->
<fontconfig>
  <!-- Generic name aliasing -->
  <alias>
    <!-- Because helvetica sucks, yet many people insist on using it on the web -->
    <family>Helvetica</family>
    <prefer>
      <family>IBM Plex Sans</family>
      <family>Symbola</family>
    </prefer>
  </alias>
  <!-- the following define fonts to use for "generic aliases", and which font to fallback to (Symbola being a font for emojis) -->
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>IBM Plex Sans</family>
      <family>Symbola</family>
    </prefer>
  </alias>
  <alias>
    <family>serif</family>
    <prefer>
      <family>IBM Plex Serif</family>
      <family>Symbola</family>
    </prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>IBM Plex Mono</family>
      <family>Symbola</family>
    </prefer>
  </alias>
</fontconfig>


Messages In This Thread
Font Fallback - by venam - 11-08-2020, 04:35 AM
RE: Font Fallback - by z3bra - 11-08-2020, 04:51 AM
RE: Font Fallback - by movq - 11-08-2020, 07:00 AM
RE: Font Fallback - by venam - 11-08-2020, 08:26 AM
RE: Font Fallback - by movq - 11-08-2020, 11:02 AM
RE: Font Fallback - by seninha - 16-08-2020, 06:39 PM
RE: Font Fallback - by venam - 17-08-2020, 02:30 AM