Closed gadenbuie closed 5 months ago
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
kit
https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w9.woff
*Note: I haven't been able to find anything online documenting this change.
Merging ahead of review to unblock other PRs. @cpsievert Let me know if you see anything off and I'll follow up.
Apparently Google Fonts started using font URLs where the font ID is stored in a query string, e.g.
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*Note: I haven't been able to find anything online documenting this change.