Package: src:fonts-dejavu Version: 2.37-1 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hey! DejaVu Sans provides some emojis in B&W. In Debian, we have Noto Color Emoji which can be used for emojis. Unfortunately, when the base font is DejaVu Sans, the fallback doesn't happen. Fontconfig makes it difficult to avoid using some range of a font and prefer another font. Most hacks will add the emoji font as a fallback: <alias binding="weak"> <family>sans-serif</family> <prefer> <family>emoji</family> </prefer> </alias> <alias binding="weak"> <family>serif</family> <prefer> <family>emoji</family> </prefer> </alias> <alias binding="weak"> <family>monospace</family> <prefer> <family>emoji</family> </prefer> </alias> However, this doesn't work with DejaVu Sans. If we use "strong" binding, too many characters are replaced (like figures). A solution is to just blacklist DejaVu Sans: <selectfont> <rejectfont> <pattern> <patelt name="family"> <string>DejaVu Sans</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>DejaVu Serif</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>DejaVu Sans Mono</string> </patelt> </pattern> </rejectfont> </selectfont> As an alternative, Arch Linux provides an emoji-less DejaVu Sans. This would also work for Debian. Would it be possible to follow the same path? https://aur.archlinux.org/packages/ttf-dejavu-emojiless/ - -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental-debug'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAlqGDG8SHGJlcm5hdEBk ZWJpYW4ub3JnAAoJEJWkL+g1NSX5BRwP/11cWR/ZbNPKDNgvgJbNCd6B+oWc5YMj LaQE3jwnY1X97KbdEJTbUuaAQJrCc95vwHzFsXwf2i7PLYQclKz0RWS3ey1pfs97 4XwR42uarJrAlchuCO36fuotsN+BpK6U8UNszSugyDuoSRkqKyFvPEqOaV87NlYU y/g1Tkc/klxKQfYMnJ9Rf06gtPjuPnH7urL6zuiOdHn0znjWQ3WtJQlgn1QELO/O YAjTdKbUE0kN5PxK+g1Bc3q0AvzMPtxXIB6SRsO3ekOR9PPNeSgSYlyvXf7pLkf+ cli9EoWJ4ba5gZM9DQS0iFFVDpvuRLHxE2DHWnZPFO/Q0wGkeW3vRmxSCdm6RS40 5K6K/f1pZcJwgQdRmHEZrFi0Hj2WolZWZK0xcLco7IZM1l1Eqs55M43prXDHMGzT l9e/cabnlmp7s4yyK1WaG7AxsQiYF4BLIoZ20ssl5VYSmnFpV+N8GidW6IsFkY2s im6VbOZjD4B1w6ykm90QGv5iROvUcKsm0ZBOKwIYQnxkAk5q/i+L+sEExVAntdBd b4gO77OD+ioRWV4Cx3f+5ZbIZXMlUVhAJ9D7UxKYZx+yfnzhaEwmzBYkeHaXV58t gvEBBxbReNdUmOXslg0hsKOuZCH88PUF36gdTo2fYwe7/CUCZJzGUPcjc83x4iR1 BzzH7dr/yD/E =E/Kh -----END PGP SIGNATURE-----