/
FontManager SFO
FontManager SFO
Properties
Field | Type | Comment/Sample |
---|
Methods
Method | Returns | Parameters | Parameter Types | Comments/Sample |
---|---|---|---|---|
createFont() | Font | none | none | Create an empty Font object. |
createGenericFont() | Font | family size weight | String String String | Create a complete Font object with the specified name for a generic font family, size and weight. The variable generic font families are: sans-serif, serif, cursive, fantasy, and monospace. |
createGenericFontFamily() | FontFamily | family | String | createGoogleWebFont() |
createGoogleWebFont() | Font | family size weight | String String String | Create a complete Font object with the specified family, size and weight for a Google web font. |
createGoogleWebFontFamily() | FontFamily | family | String | Create a font family object with the specified name for Google Fonts. |
createNativeFont() | Font | family size weight | String String String | Create a complete Font object with the specified family, size, and weight for natively supported fonts. Only use fonts that all browsers support natively like: Arial, Arial Black, Courier New, Times New Roman, Helvetica, and Verdana. |
createNativeFontFamily() | FontFamily | family | String | Create a font family object with the specified name. Only use fonts that all browsers support natively like: Arial, Arial Black, Courier New, Times New Roman, Helvetica, and Verdana. |
createTypeKitFont() | Font | family size weight kitId |
| Creaet a complete Font object with teh specified family, size, weight, and kit id for a TypeKit font. |
createTypeKitFontFamily() | FontFamily |
| String String | Create a font family object with the specified TypeKit family and kit id. |
load() | String | none | none | Returns the HTML code that must be included in the page to load the external Google or TypeKit fonts. |
|
|
| Register a font object with the manager so that when load() is called the proper loading code will generate. |
See Also
, multiple selections available,
Related content
Font SFO
Font SFO
More like this
FontFamily SFO
FontFamily SFO
More like this
Theme SFO
Theme SFO
More like this
SEO SFO
SEO SFO
More like this
Apply a specific Font Family to a theme via CSS
Apply a specific Font Family to a theme via CSS
More like this
Site SFO
Site SFO
More like this