URL Specification The URL in the JavaScript tag determines which fonts are loaded into your page. Here’s the spec for that URL.use.edgefonts.net/[<family>[:<fvd...>[:<subset>]]...].jsLet’s break down the parts that are variable. Each of these elements is separated by a colon (:). family The name of a font family. See the available fonts. fvd One or more Font Variation Descriptions separated by a comma (,). subset The name of a subset. The available values are default and all. Include multiple families by separating them with a semicolon (;). Both the fvd and subset parameters are optional. If you omit fvd, the response will contain fonts from the “basic four” set: regular, italic, bold, and bold italic (n4,i4,n7,i7). If a family contains none of the basic four, the response will contain no fonts for that family. If subset is omitted, default will be used.# One family with default options (results in n4,i4,n7,i7) # and the "default" subset). use.edgefonts.net/averia-libre.js # One family in two styles. Averia Libre Light (n3) and # Light Italic (i3) in the "default" subset. use.edgefonts.net/averia-libre:n3,i3.js # One family, in one style, in the "all" subset. use.edgefonts.net/averia-libre:n3:all.js # Two families. Averia Libre Regular (n4) in the "default" # subset, and Bree Serif Regular (n4) in the "all" subset. use.edgefonts.net/averia-libre:n4;bree-serif:n4:all.js # Two families with default options. use.edgefonts.net/averia-libre;bree-serif.js
9/25/2012
Adobe® Edge Web Fonts
Adobe® Edge Web Fonts
沒有留言:
張貼留言