view 10-noto-emoji.conf @ 160:961186621cc8

Add optional rhg (Mercurial Rust) support Configure in hgrc and write a custom `hg prompt` that's faster that the prompt extension on a Raspberry Pi because it doesn't initialise Python on each call
author IBBoard <dev@ibboard.co.uk>
date Sat, 11 Nov 2023 20:29:16 +0000
parents e0fa21f96b67
children
line wrap: on
line source

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Noto Color Emoji</family>
      <family>Noto Sans</family>
    </prefer>
  </alias>
  <alias>
    <family>serif</family>
    <prefer>
      <family>Noto Color Emoji</family>
      <family>Noto Serif</family>
    </prefer>
  </alias>
  <alias>
    <family>monospace</family>
    <prefer>
      <family>Noto Color Emoji</family>
      <family>Noto Mono</family>
    </prefer>
  </alias>
  <match>
    <test name="family" compare="contains">
      <string>emoji</string>
    </test>
    <edit name="family" mode="prepend" binding="same">
      <string>Noto Color Emoji</string>
    </edit>
  </match>
  <match target="font">
    <test name="family" compare="eq">
      <string>Noto Color Emoji</string>
    </test>
    <edit name="charset" mode="assign" binding="strong">
      <minus>
        <name>charset</name>
        <charset>
          <range>
            <int>0x0000</int>
            <int>0x00FF</int>
          </range>
        </charset>
      </minus>
    </edit>
  </match>
  <!-- Fix the times when people put "Segoe UI; Segoe UI Emoji" and so we get emoji numbers -->
  <alias binding="strong">
    <family>Segoe UI</family>
    <prefer><family>Noto Sans</family></prefer>
    <default><family>sans-serif</family></default>
  </alias>
</fontconfig>