
我想讓 Google Noto Color 表情符號替換所有其他表情符號,所以我看不到通用表情符號。就像這裡的這個:
為了測試這一點,我使用以下頁面: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>
我目前在 .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>
我試圖刪除所有微軟字體、符號字體和其他字體來找出是什麼字體在這樣做,但我無法弄清楚:(
Ubuntu 16.04.1:能登顏色表情符號
也許在瀏覽器中擁有一些開發工具的人可以解決這個問題?我已經嘗試過但找不到它。
答案1
如果我理解您的問題,我認為您無法解決 Facebook 或 Twitter 等社交網站上的問題,因為 Twitter 和 Facebook 對桌面網站的用戶使用自己的表情符號替換圖像。這解決了表情符號相容性問題,也為表情符號集中的品牌提供了機會。
此外,刪除字體不會擴展系統的功能。我建議您可能希望重新安裝刪除的字體,因為理論上它們以某種方式優先。
至於您提到的「少數缺失」表情符號,您可能有興趣知道「這裡的特殊問題是,雖然字形出現在黑白表情符號字體中,但 cmap 條目將單個字元映射到每個字元(加上heart 1f491 、kiss 1f48f 和family 1f46a),沒有GSUB 條目將這些序列對應到它們。<-引用來源
您可以追蹤所有現有問題這裡是 Noto 表情符號
原始來源:http://blog.emojipedia.org/new-to-emojipedia-samsung-facebook-emoji-one/
答案2
我要告訴你的方法目前僅適用於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>
重新開始Chrome
。