Procházet zdrojové kódy

Merge pull request #11672 from overleaf/ae-noto-weight

[rich text] Set weight and stretch ranges for Noto Serif

GitOrigin-RevId: 0dc0ad8f7df4f06e191e13f214dcc5d6e0a98955
Mathias Jakobsen před 3 roky
rodič
revize
cd00968699
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      services/web/frontend/fonts/noto-serif.css

+ 4 - 0
services/web/frontend/fonts/noto-serif.css

@@ -1,11 +1,15 @@
 @font-face {
   font-family: 'Noto Serif';
   font-style: normal;
+  font-weight: 200 700;
+  font-stretch: 62.5% 100%;
   src: url('noto-serif/NotoSerif[wght].woff2') format('woff2');
 }
 
 @font-face {
   font-family: 'Noto Serif';
   font-style: italic;
+  font-weight: 200 700;
+  font-stretch: 62.5% 100%;
   src: url('noto-serif/NotoSerif-Italic[wght].woff2') format('woff2');
 }