Sample Header Ad - 728x90

How to override terminal font-family for specific glyph?

3 votes
1 answer
861 views
I have set Source Code Pro as my default monospace font and Noto Color Emoji for emojis, set in fontconfig as follows:
serif
    
      Noto Color Emoji
      DejaVu Sans
    
  
  
    sans-serif
    
      Noto Color Emoji
      DejaVu Serif
    
  
  
    monospace
    
      Noto Color Emoji
      Source Code Pro
This works fine for Gnome apps, but my terminal [Allacritty] still shows some emojis without using the emoji font. I suspect that is due to Source Code Pro having those glyphs because they work as expected with other fonts (e.g. Inconsolata). For example ☕ and 💩 emojis: enter image description here Is there how to force the emoji font to be used for those glyphs also in terminal?
Asked by paulodiovani (361 rep)
Aug 24, 2022, 02:06 PM
Last activity: Sep 23, 2022, 05:35 PM