diff 10-noto-emoji.conf @ 158:e0fa21f96b67

Try to avoid using emoji numbers
author IBBoard <dev@ibboard.co.uk>
date Wed, 23 Aug 2023 20:56:48 +0100
parents 0354415a8e48
children
line wrap: on
line diff
--- a/10-noto-emoji.conf	Sun Jul 03 15:27:25 2022 +0100
+++ b/10-noto-emoji.conf	Wed Aug 23 20:56:48 2023 +0100
@@ -30,6 +30,22 @@
       <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>