Update fonts by doing the following:
- Go to https://fonts.google.com/specimen/Open+Sans
- Add all the styles you want and select
@import - Copy the url (e.g. curl https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap)
- Run
curl curl https://fonts.googleapis.com/css2\?family\=Open+Sans:ital,wght@0,300\;0,400\;0,500\;0,600\;0,700\;0,800\;1,300\;1,400\;1,500\;1,600\;1,700\;1,800\&display\=swap - Use the response as the CSS import directives and download the font files for each font weight
- Remember to delete any old font files