@pixldocs/canvas-renderer 0.3.11 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -10481,9 +10481,8 @@ async function loadGoogleFontCSS(rawFontFamily) {
10481
10481
  loadedFonts.add(fontFamily);
10482
10482
  return;
10483
10483
  }
10484
- const weights = "100;200;300;400;500;600;700;800;900";
10485
10484
  const encoded = encodeURIComponent(fontFamily);
10486
- const url = `https://fonts.googleapis.com/css2?family=${encoded}:ital,wght@0,${weights};1,${weights}&display=swap`;
10485
+ const url = `https://fonts.googleapis.com/css?family=${encoded}:300,400,500,600,700&display=swap`;
10487
10486
  const link = document.createElement("link");
10488
10487
  link.rel = "stylesheet";
10489
10488
  link.href = url;