Advertisement
Guest User

62-chrome-1F46A.conf

a guest
Dec 9th, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4.  
  5. <!-- Chrome checks for U+1F46A (Family emoji) in the font for requesting colour presentation VS16/FE0F support -->
  6. <!--
  7. List of default text/emoji presentation regex used can be found here:
  8. https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/text/character_emoji.cc?l=79&rcl=088ecb5eeb4c9ca06a2e56913454dff99a4c2c1b
  9. The linked code is wrapped in compiletime condition based on system ICU version, which on newer systems won't be used..
  10. -->
  11. <!--
  12. Chrome apparently queries fonts with `und-Zsye` as preferred locale when searching for
  13. emoji presentation font support?
  14. https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/fonts/font_cache.cc?l=523&rcl=62798f34f608bdbfb3398d78e42c356d7a17a910
  15. -->
  16.  
  17. <!-- Noto Sans Symbols2 has black/white emoji support, to prevent Chrome choosing it for colour emoji font, remove the glyph support for the emoji, hacky workaround, delete this if you want to use this font as your emoji font -->
  18. <match target="scan">
  19. <test name="family" compare="eq">
  20. <string>Noto Sans Symbols2</string>
  21. </test>
  22. <edit name="charset" mode="assign">
  23. <minus>
  24. <name>charset</name>
  25. <charset>
  26. <int>0x1F46A</int>
  27. </charset>
  28. </minus>
  29. </edit>
  30. </match>
  31.  
  32. </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement