File Use-system-Inter-font.patch of Package signal-desktop

diff --git a/stylesheets/_fontfaces.scss b/stylesheets/_fontfaces.scss
index 8fd4a88..51e2c47 100644
--- a/stylesheets/_fontfaces.scss
+++ b/stylesheets/_fontfaces.scss
@@ -1,44 +1,5 @@
 // Copyright 2019 Signal Messenger, LLC
 // SPDX-License-Identifier: AGPL-3.0-only
-
-@font-face {
-  font-family: 'Inter';
-  src: url('../fonts/inter-v3.19/Inter-BoldItalic.woff2');
-  font-weight: bolder;
-  font-style: italic;
-}
-@font-face {
-  font-family: 'Inter';
-  src: url('../fonts/inter-v3.19/Inter-Bold.woff2');
-  font-weight: bolder;
-}
-
-@font-face {
-  font-family: 'Inter';
-  src: url('../fonts/inter-v3.19/Inter-SemiBoldItalic.woff2');
-  font-weight: bold;
-  font-style: italic;
-}
-@font-face {
-  font-family: 'Inter';
-  src: url('../fonts/inter-v3.19/Inter-Italic.woff2');
-  font-style: italic;
-}
-@font-face {
-  font-family: 'Inter';
-  src: url('../fonts/inter-v3.19/Inter-SemiBold.woff2');
-  font-weight: bold;
-}
-@font-face {
-  font-family: 'Inter';
-  src: url('../fonts/inter-v3.19/Inter-Medium.woff2');
-  font-weight: 500;
-}
-
-@font-face {
-  font-family: 'Inter';
-  src: url('../fonts/inter-v3.19/Inter-Regular.woff2');
-}
 
 @font-face {
   font-family: 'Parisienne';
diff --git a/ts/util/avatarDataToBytes.ts b/ts/util/avatarDataToBytes.ts
index ff121fd..67bb3b6 100644
--- a/ts/util/avatarDataToBytes.ts
+++ b/ts/util/avatarDataToBytes.ts
@@ -38,12 +38,6 @@ async function drawImage(
 }
 
 async function getFont(text: string): Promise<string> {
-  const font = new window.FontFace(
-    'Inter',
-    'url("fonts/inter-v3.19/Inter-Regular.woff2")'
-  );
-  await font.load();
-
   const measurerCanvas = document.createElement('canvas');
   measurerCanvas.width = CANVAS_SIZE;
   measurerCanvas.height = CANVAS_SIZE;
--- a/background.html	2022-09-15 02:57:35.000000000 +0200
+++ b/background.html	2022-09-15 12:06:25.017872479 +0200
@@ -27,55 +27,6 @@
             style-src 'self' 'unsafe-inline';"
     />
     <title>Signal</title>
-    <link
-      rel="preload"
-      href="fonts/inter-v3.19/Inter-BoldItalic.woff2"
-      as="font"
-      crossorigin
-      type="font/woff2"
-    />
-    <link
-      rel="preload"
-      href="fonts/inter-v3.19/Inter-Bold.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin
-    />
-    <link
-      rel="preload"
-      href="fonts/inter-v3.19/Inter-SemiBoldItalic.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin
-    />
-    <link
-      rel="preload"
-      href="fonts/inter-v3.19/Inter-Italic.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin
-    />
-    <link
-      rel="preload"
-      href="fonts/inter-v3.19/Inter-SemiBold.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin
-    />
-    <link
-      rel="preload"
-      href="fonts/inter-v3.19/Inter-Regular.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin
-    />
-    <link
-      rel="preload"
-      href="fonts/inter-v3.19/Inter-Medium.woff2"
-      as="font"
-      type="font/woff2"
-      crossorigin
-    />
     <link rel="preload" href="images/signal-logo.svg" as="image" crossorigin />
 
     <link
openSUSE Build Service is sponsored by