Google Font API: Requesting a Bold Font Style Using a Numeric Notation
If you’re a web designer who wants to take full advantage of the functionality offered by the brand new web service implemented by Google, that is the already popular Font API, then this article series might be the material that you’re looking for. It shows you how to work with the API’s most relevant features. In this ninth (and final) article of the series, you'll learn another way to get the bold version of a font.
Google Font API: Requesting a Bold Font Style Using a Numeric Notation (Page 1 of 4 )
And now that you know what to expect from this group of articles, it’s time to refresh the topics that were covered in the last one. In that part I demonstrated how to use a handy shorthand provided by Google’s Font API, called “bi.”
Even though the name of this argument isn’t very explicit, the task that it performs is quite remarkable. It can be used as a replacement for the “bolditalic” option discussed in a previous part. As you'll recall, that option comes in useful for requesting the italic and bold versions of a specified font family at the same time.
While it’s valid to point out that at this stage I've already covered the most important characteristics that the Google Font API offers for free, there is one last one that deserves a closer analysis. Its usage is very simple to grasp. Yes, as the title of this article clearly suggests, the API also permits you to download the bold style of a font family by utilizing a numeric notation, pretty similar to the one used with the “font-weight” CSS property. Therefore, this last chapter of the series will explain how to request a bold font style by using the aforementioned numeric syntax.
Ready to learn how to accomplish this task? Then jump ahead and read the lines to come!