$registerFont
Register a font.
Usage
Parameters
Field | Description | Type | Required |
---|---|---|---|
src | The font source. | string | true |
name | The font family name. | string | false |
Register a font.
Field | Description | Type | Required |
---|---|---|---|
src | The font source. | string | true |
name | The font family name. | string | false |