[builders/tor-browser-build] branch maint-11.5 updated: Bug 40626: Define the replacements for generic families on Linux

This is an automated email from the git hooks/post-receive script. richard pushed a commit to branch maint-11.5 in repository builders/tor-browser-build. The following commit(s) were added to refs/heads/maint-11.5 by this push: new ff0c0d0 Bug 40626: Define the replacements for generic families on Linux ff0c0d0 is described below commit ff0c0d00483cbe32b617a44913d50b6f62d63667 Author: Pier Angelo Vendrame <pierov@torproject.org> AuthorDate: Tue Sep 20 09:19:57 2022 +0200 Bug 40626: Define the replacements for generic families on Linux FontConfig does not know much about our fonts, and falls back to the font version, when it cannot find any other criterion to decide which font to use. So, we want to make sure that at least sans-serif, serif and monospace are the fonts we want (currently, Arimo, Tinos and Cousine). --- .../Bundle-Data/linux/Data/fontconfig/fonts.conf | 35 +++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/projects/tor-browser/Bundle-Data/linux/Data/fontconfig/fonts.conf b/projects/tor-browser/Bundle-Data/linux/Data/fontconfig/fonts.conf index ed236ac..f28857d 100644 --- a/projects/tor-browser/Bundle-Data/linux/Data/fontconfig/fonts.conf +++ b/projects/tor-browser/Bundle-Data/linux/Data/fontconfig/fonts.conf @@ -1,6 +1,11 @@ <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> -<!-- This file whitelists Tor Browser's bundled fonts and standardizes rendering settings. --> +<!-- +**DO NOT EDIT THIS FILE!** +This file sets Tor Browser's bundled fonts as the only available system fonts +and standardizes rendering settings. +Any changes might deanonymize you, or expose you to fingerprinting vectors. +--> <!-- Derived from fonts.conf.in of Fontconfig. @@ -72,6 +77,34 @@ PERFORMANCE OF THIS SOFTWARE. </edit> </match> +<!-- + Set our default generic families. +--> + <match target="pattern"> + <test qual="any" name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Arimo</string> + </edit> + </match> + <match target="pattern"> + <test qual="any" name="family"> + <string>serif</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Tinos</string> + </edit> + </match> + <match target="pattern"> + <test qual="any" name="family"> + <string>monospace</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Cousine</string> + </edit> + </match> + <!-- Font cache directory list --> <cachedir prefix="xdg">fontconfig</cachedir> -- To stop receiving notification emails like this one, please contact the administrator of this repository.
participants (1)
-
gitolite role