summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-10-05 12:17:59 +0200
committerAkira TAGOH <akira@tagoh.org>2017-10-05 20:32:03 +0900
commitffee275e527404c698f366911ca94dbde5e05142 (patch)
tree4122fb5993d349d55f0eb635a2924a496d47093a
parentb546940435ebfb0df575bc7a2350d1e913919c34 (diff)
downloadfontconfig-ffee275e527404c698f366911ca94dbde5e05142.tar.gz
conf: Prefer system emoji fonts to third-party ones
Prefer the system provided emoji fonts on systems which provide one, such as Windows, MacOS and Android, even if the Emoji One or Emoji Two fonts are installed. This also allows free software OSes such as GNOME to prefer the Emoji One font, which is not used in other OSes and therefore has a unique brand identity, by installing them and only them by default. Users can use more capable fonts while Emoji One and Emoji Two catch up by installing a font otherwise already used by another system, such as Google's freely redistributable Noto Emoji font. https://bugzilla.redhat.com/show_bug.cgi?id=1496761
-rw-r--r--conf.d/45-generic.conf16
-rw-r--r--conf.d/60-generic.conf5
2 files changed, 12 insertions, 9 deletions
diff --git a/conf.d/45-generic.conf b/conf.d/45-generic.conf
index f6076bb..791d12d 100644
--- a/conf.d/45-generic.conf
+++ b/conf.d/45-generic.conf
@@ -5,32 +5,34 @@
<!-- Emoji -->
+ <!-- System emoji -->
<alias binding="same">
- <family>Emoji Two</family>
+ <family>Noto Color Emoji</family> <!-- Google -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
- <family>Emoji One</family>
+ <family>Apple Color Emoji</family> <!-- Apple -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
- <family>Noto Color Emoji</family> <!-- Google -->
+ <family>Segoe UI Emoji</family> <!-- Microsoft -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
- <family>Apple Color Emoji</family> <!-- Apple -->
+ <family>Twitter Color Emoji</family> <!-- Twitter -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
- <family>Segoe UI Emoji</family> <!-- Microsoft -->
+ <family>EmojiOne Mozilla</family> <!-- Mozilla -->
<default><family>emoji</family></default>
</alias>
+ <!-- Third-party emoji -->
<alias binding="same">
- <family>Twitter Color Emoji</family> <!-- Twitter -->
+ <family>Emoji Two</family>
<default><family>emoji</family></default>
</alias>
<alias binding="same">
- <family>EmojiOne Mozilla</family> <!-- Mozilla -->
+ <family>Emoji One</family>
<default><family>emoji</family></default>
</alias>
<!-- B&W -->
diff --git a/conf.d/60-generic.conf b/conf.d/60-generic.conf
index 2a2b809..7985ce9 100644
--- a/conf.d/60-generic.conf
+++ b/conf.d/60-generic.conf
@@ -29,14 +29,15 @@
<alias binding="same">
<family>emoji</family>
<prefer>
- <family>Emoji Two</family>
- <family>Emoji One</family>
<!-- System fonts -->
<family>Noto Color Emoji</family> <!-- Google -->
<family>Apple Color Emoji</family> <!-- Apple -->
<family>Segoe UI Emoji</family> <!-- Microsoft -->
<family>Twitter Color Emoji</family> <!-- Twitter -->
<family>EmojiOne Mozilla</family> <!-- Mozilla -->
+ <!-- Third-Party fonts -->
+ <family>Emoji Two</family>
+ <family>Emoji One</family>
<!-- Non-color -->
<family>Noto Emoji</family> <!-- Google -->
<family>Android Emoji</family> <!-- Google -->