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 clickin

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-03-30 07:30:03

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.

Hi! Our team is relying on accessing font files using the https://fonts.google.com/download?family=Noto+Sans+SC URL format. The URLs used to point directly to a ZIP file, which we download with wget, unzip, and load into the system as part of the CI process.

However, now that the page returns HTML that initiates the download with JavaScript, it's not clear how we should get access to the files programmatically. I scoured the documentation but couldn't find any indication of download paths for static font resources, only different options for using webfonts.

The base image for our container is public.ecr.aws/lambda/nodejs:18. Can also be reproduced on recent Linux and macOS versions (although you may need to download the unzip utility first, e.g. yum install unzip).

Leave a Comment