7

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)?

0

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.

  • sure, but if it also contains glyphs for non-emoji codepoints, it will be used for those codepoints as well. e.g. Segoe UI Emoji has glyphs for a set similar to the latin-1 codepoints. – flying sheep Apr 18 '16 at 14:57
  • @flyingsheep, yes, it won't work so well then. (Even, without this, this setup cause some issues.) – ysdx Apr 18 '16 at 14:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.