Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0'?>
- <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
- <fontconfig>
- <!-- Chrome checks for U+1F46A (Family emoji) in the font for requesting colour presentation VS16/FE0F support -->
- <!--
- List of default text/emoji presentation regex used can be found here:
- https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/text/character_emoji.cc?l=79&rcl=088ecb5eeb4c9ca06a2e56913454dff99a4c2c1b
- The linked code is wrapped in compiletime condition based on system ICU version, which on newer systems won't be used..
- -->
- <!--
- Chrome apparently queries fonts with `und-Zsye` as preferred locale when searching for
- emoji presentation font support?
- https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/fonts/font_cache.cc?l=523&rcl=62798f34f608bdbfb3398d78e42c356d7a17a910
- -->
- <!-- 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 -->
- <match target="scan">
- <test name="family" compare="eq">
- <string>Noto Sans Symbols2</string>
- </test>
- <edit name="charset" mode="assign">
- <minus>
- <name>charset</name>
- <charset>
- <int>0x1F46A</int>
- </charset>
- </minus>
- </edit>
- </match>
- </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement