Hacker News new | ask | show | jobs
by riffraff 4517 days ago
OT, but how does this work? Why does it improve rendering? Is it downloading both the normal and bold weight rather than only one leaving the browser to do the rest?
2 comments

Yes, you have it exactly right. The browser will try to make fonts bold on its own, but it's not a match for the bold that the designer intended.
>Is it downloading both the normal and bold weight rather than only one leaving the browser to do the rest?

Yes. The original URL only provides the normal weight (400), but you can specify other weights/styles[1]. 700 is the weight for bold and GP's URL requests both 400 and 700.

[1]: https://developers.google.com/fonts/docs/getting_started#Syn...