[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41237: Add some font aliases for compatibility.

morgan (@morgan) git at gitlab.torproject.org
Mon Sep 16 17:32:40 UTC 2024



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/0db4934756ca6ca9015fa757964c4c2437b51e05

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0db4934756ca6ca9015fa757964c4c2437b51e05
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240916/c2cc1947/attachment-0001.htm>


More information about the tor-commits mailing list