TransWikia.com

Use a specific font for emojis

Unix & Linux Asked by flying sheep on November 16, 2021

i’d like to use the pretty Segoe UI Symbol emoji.

I installed the font by copying it over from my windows install, and awesomely enough, my system falls back to it for all emoji that my main font doesn’t have. But all (black and white) emoji existing in my main font are used.

How can I tell fontconfig to prefer “Segoe UI Symbol” for certain unicode ranges (the ones defined here)?

One Answer

A possible solution is to prepend the Emoji font like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font">
    <edit name="family" mode="prepend_first">
      <string>Emoji One Color</string>
    </edit>    
  </match>
</fontconfig>

The Emoji font is going be be used for the emojis even if the main font has glyphs for the emojis.

Answered by ysdx on November 16, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP