morgan pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits: 0db49347 by Pier Angelo Vendrame at 2024-09-16T17:31:29+00:00 Bug 41237: Add some font aliases for compatibility.
Add aliases for some MS fonts (Arial, Courier New, and Times New Roman) and for some PS fonts (Courier, Helvetica, and Times).
- - - - -
1 changed file:
- projects/browser/Bundle-Data/linux/Data/fontconfig/fonts.conf
Changes:
===================================== projects/browser/Bundle-Data/linux/Data/fontconfig/fonts.conf ===================================== @@ -105,6 +105,59 @@ PERFORMANCE OF THIS SOFTWARE. </edit> </match>
+<!-- + tor-browser#41799, tor-browser-build#41237: Add some aliases for + compatibility. +--> + <match target="pattern"> + <test qual="any" name="family"> + <string>Arial</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Arimo</string> + </edit> + </match> + <match target="pattern"> + <test qual="any" name="family"> + <string>Times New Roman</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Tinos</string> + </edit> + </match> + <match target="pattern"> + <test qual="any" name="family"> + <string>Courier New</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Cousine</string> + </edit> + </match> + <match target="pattern"> + <test qual="any" name="family"> + <string>Helvetica</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Arimo</string> + </edit> + </match> + <match target="pattern"> + <test qual="any" name="family"> + <string>Times</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Tinos</string> + </edit> + </match> + <match target="pattern"> + <test qual="any" name="family"> + <string>Courier</string> + </test> + <edit name="family" mode="assign" binding="same"> + <string>Cousine</string> + </edit> + </match> + <!-- Font cache directory list -->
<cachedir prefix="xdg">fontconfig</cachedir>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0d...
tbb-commits@lists.torproject.org