FontManager SFO
Properties
Field | Type | Comment/Sample |
|---|
Methods
Method | Returns | Parameters | Parameter Types | Comments/Sample |
|---|---|---|---|---|
|
|
| Create an empty Font object. | |
|
|
| 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. | |
|
|
| createGoogleWebFont() | |
|
|
| Create a complete Font object with the specified family, size and weight for a Google web font. | |
|
|
| Create a font family object with the specified name for Google Fonts. | |
|
|
| 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. | |
|
|
| 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. | |
|
|
| Creaet a complete Font object with teh specified family, size, weight, and kit id for a TypeKit font. | |
|
|
| Create a font family object with the specified TypeKit family and kit id. | |
|
|
|
| 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. |