Skip to content

Conversation

@gadenbuie
Copy link
Member

@gadenbuie gadenbuie commented Feb 14, 2024

Apparently Google Fonts started using font URLs where the font ID is stored in a query string, e.g.

https://fonts.gstatic.com/l/font?kit=JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew9&skey=7bc19f711c0de8f&v=v26

This update pulls out the kit value from the URL and uses it as the font id, which seems to be consistent with the previous format, which looked like this

https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w9.woff

*Note: I haven't been able to find anything online documenting this change.

@gadenbuie gadenbuie requested a review from cpsievert February 14, 2024 21:56
@gadenbuie
Copy link
Member Author

Merging ahead of review to unblock other PRs. @cpsievert Let me know if you see anything off and I'll follow up.

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

Successfully merging this pull request may close these issues.

2 participants