

Here’s what the request would look like: Īs with all query strings, you should URL-encode the value: You're only using Inconsolata for the title of your blog, you can put the title To use this feature, simply add text= to your API request. In some cases, this can reduce the size of the font file by up to This allows Google Fonts to return a font file that's optimized for In these cases, you should consider specifying a text= value in your font Know in advance which letters you'll need. Oftentimes, when you want to use a web font on your site or application, you Pass the desired value in the display parameter: Specifying a value other than the default auto is Property lets you control what happens while the font is still loading or Use a continuous range of weights, specify that weight range in your request. If you use onlyģ specific weights, specify them in your request as individual styles. To download more font data than they need, causing more latency. Requesting unused styles may cause your users To render an intermediate weight: the Web Beautiful! Optimizing for latency and file sizeīe precise about the styles you are using. Variable fonts offer both the standard weights and With static fonts, styles of weight are usually specified as multiples of 100 For example, when requesting aįamily with a weight axis ranging from 500 to 900, the weight position must be Not specify positions for those axes will fail. The default for the weight axis is 400 (regular).įor families with axes that don’t contain the default position, requests that do The default position of the italic axis is 0 (normal) and When a request doesn’t specify a position or range for an axis, the default Font(s)Ĭrimson Pro Pro Regular & Pro Bold & Bold Fonts lists all the styles available for each font family. Property keywords in alphabetical order, an at sign and one or more lists To request other individual styles, such as specific weights,Īppend a colon (:) after the name of the font family, followed by a list of axis Without style specifications, the API provides the default style of the Making the Web Beautiful! Individual styles, such as weight
