如何替换所有表情符号?

Joa*_*oed 5 fonts google-chrome emoji

我想让 Google Noto Color Emoji 替换所有其他表情符号,所以我看不到通用的。就像这里的这个: 在此处输入图片说明

为了测试这一点,我使用了以下页面:http : //getemoji.com/,其中显示了浏览器可以使用的“所有”表情符号。如您所见,只缺少一些。

我怀疑某些其他字体可能具有更高的优先级,因此它尝试在 Noto Color Emoji 之前使用它。

我可以通过以下方式解决这个问题:如果我只是这样做,它将在http://getemoji.com等网站上运行,但在 facebook 和其他社交网站上不起作用。

  <match>
    <test name="family"><string>Segoe UI</string></test>
    <edit name="family" mode="assign" binding="strong">
      <string>Noto Color Emoji</string>                                         
    </edit>
  </match>
Run Code Online (Sandbox Code Playgroud)

我目前在 .config/fontconfig/fonts.conf 中使用这些行,以确保它们在 Google Chrome 中工作

<!-- Emojis -->
  <match target="scan">
    <test name="family">
      <string>Noto Color Emoji</string>
    </test>
    <edit name="scalable" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

  <match target="pattern">
    <test name="prgname">
      <string>chrome</string>
    </test>
    <edit name="family" mode="prepend_first">
      <string>Noto Color Emoji</string>
    </edit>
  </match>
Run Code Online (Sandbox Code Playgroud)

我试图删除所有 microsoft 字体、符号字体和其他字体以找出执行此操作的字体,但我无法弄清楚:(

Ubuntu 16.04.1 带有:Noto Color Emoji

也许在浏览器中使用一些开发人员工具的人可以弄清楚?我试过了,但找不到。

Eld*_*eek 2

如果我理解您的问题,我认为您无法解决 Facebook 或 Twitter 等社交网站上的问题,因为 Twitter 和 Facebook 对桌面网站的用户使用自己的表情符号替换图像。这解决了表情符号兼容性问题,也为表情符号集中的品牌提供了机会。

此外,删除字体不会扩展系统的功能。我建议您可能希望重新安装删除的字体,因为理论上它们以某种方式优先。

至于您提到的“少数缺失”表情符号,您可能有兴趣知道“这里的特殊问题是,虽然字形出现在黑白表情符号字体中,但 cmap 条目将单个字符映射到每个字符(加上heart 1f491、kiss 1f48f 和 family 1f46a),没有 GSUB 条目将这些序列映射到它们。” <-引用来源

您可以在此处跟踪 Noto-emoji的所有现有问题

原始来源:http ://blog.emojipedia.org/new-to-emojipedia-samsung-facebook-emoji-one/


Adn*_*nan 0

我要告诉你的方法目前仅适用于Chrome,我正在寻找一种方法使其Firefox也适用于:

fonts.conf在最后一行之前添加这些行</fontconfig>

<alias>
        <family>sans-serif</family>
        <prefer>
            <family>Noto Color Emoji</family>
        </prefer>
</alias>
<match>
    <test name="family"><string>Segoe UI Emoji</string></test>
    <edit name="family" mode="prepend" binding="strong">
        <string>Noto Color Emoji</string>
    </edit>
</match>
Run Code Online (Sandbox Code Playgroud)

重新开始Chrome