Property | Type | Description |
---|---|---|
family-name |
| Font family name (must have been already uploaded to your Fontdue admin) |
style-name |
| The name of the style from the family to display. Note that variable fonts have one or more Font Styles, these represent each font file that make up the designspace of the font. |
font-size |
| Initial font size in pixels. |
line-height |
| Line-height as a proportional value where |
content |
| The initial content to display. |
features |
| Comma-separated list of opentype feature codes to expose as options to users. (e.g. |
features-selected |
| Comma-seperated list of opentype feature codes to be selected by default |
autofit |
| See the |
variable-settings |
| If this type tester points to a variable font, set the variable font settings here with a comma-separated list of settings. Each setting must have the format |
axes |
| Comma-separated list of variable axes to expose (e.g. |
alignment |
| Text alignment |
direction |
| Text direction (used for right-to-left scripts) |