Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wypst in CDN minified gets a bunch of fonts 404 #11

Open
storopoli opened this issue Nov 2, 2024 · 0 comments
Open

Wypst in CDN minified gets a bunch of fonts 404 #11

storopoli opened this issue Nov 2, 2024 · 0 comments

Comments

@storopoli
Copy link

If you include according to the NPM README (I added the tinfoil-hat integrity):

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/[email protected]/dist/wypst.min.css"
  integrity="sha384-wcIxkf4k558AjM3Yz3BBFQUbk/zgIYC2R0QpeeYb+TwlBVMrlgLqwRjRtGZiK7ww"
  crossorigin="anonymous"
/>
<script
  defer
  src="https://cdn.jsdelivr.net/npm/[email protected]/dist/wypst.min.js"
  integrity="sha384-0bsHz/wZhjA1AaUVRQ/VVDZGqhqntAxbg7Uo/AoXGIeD4x+qUNGJp9Jb+esdyWWI"
  crossorigin="anonymous"
></script>

You get a bunch of 404s for the KaTeX fonts):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant