Sfoglia il codice sorgente

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

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

GitOrigin-RevId: 0dc0ad8f7df4f06e191e13f214dcc5d6e0a98955
Mathias Jakobsen 3 anni fa
parent
commit
cd00968699
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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');
 }