Working with the Google Font API`s bolditalic Argument
In this seventh part of the series, I demonstrate how to work with the “bolditalic” argument included with Google’s Font API. The use of the argument is very similar to its counterparts “italic” and “bold” discussed in previous articles, so understanding its underlying logic is truly a breeze.
Working with the Google Font API`s bolditalic Argument (Page 1 of 4 )
The Google Font API, in case you haven't heard, is a new web service provided by the popular search engine company. It will let you download and embed for free a certain number of commercial fonts on your web pages by using a group of easily-customizable query string arguments.
What’s more, the inherent flexibility offered by the Font API will permit you to request the available font families in a truly selective fashion. It includes some handy modifiers, like “italic” and “bold” among others, which allow you to download (individually) only the italic and bold styles of a specified typeface instead of the whole font family, thus making your web pages load a bit faster.
As I mentioned a moment ago, these additional options come in handy for separately requesting the italicized and bold versions of a given typeface. Unfortunately, they can’t be employed successfully for using the two versions at the same time. Does this mean that the Google Font API won’t let you accomplish this task after all? As a matter of fact, the API does include an extra argument called “bolditalic” which can be utilized for simultaneously downloading the aforementioned styles of a specific font family with a single request.
Given the importance that the “bolditalic” option might have for creative web designers like you, in this seventh installment of the series I’m going to take a close look at it. This way, you can learn how to use it when styling the text elements (or at least some of them) of your own your web pages.
Now, it’s time to start exploring the functionality provided by the “bolditalic” argument bundled with the Google Font API. Let’s jump in!